Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/connection/CVSCommunicationException.java')
-rw-r--r--bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/connection/CVSCommunicationException.java46
1 files changed, 0 insertions, 46 deletions
diff --git a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/connection/CVSCommunicationException.java b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/connection/CVSCommunicationException.java
deleted file mode 100644
index 55f616d31..000000000
--- a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/connection/CVSCommunicationException.java
+++ /dev/null
@@ -1,46 +0,0 @@
-package org.eclipse.team.internal.ccvs.core.connection;
-
-/*
- * (c) Copyright IBM Corp. 2000, 2001.
- * All Rights Reserved.
- */
-
-import org.eclipse.team.internal.ccvs.core.CVSException;
-import org.eclipse.team.internal.ccvs.core.Policy;
-
-public class CVSCommunicationException extends CVSException {
-
- /**
- * Create a new <code>CVSCommunicationException with the
- * given message.
- */
- public CVSCommunicationException(String message) {
- super(message, null, null);
- }
- /**
- * Create a new <code>CVSCommunicationException.
- *
- * @param message a message describing the exception in detail.
- * @param the caught exception that has caused the communication
- * exception.
- */
- public CVSCommunicationException(String message, Throwable throwable) {
- super(message, null, throwable);
- }
- /**
- * Create a new <code>CVSCommunicationException.
- *
- * @param the caught exception that has caused the communication
- * exception.
- */
- public CVSCommunicationException(Throwable throwable) {
- this(getMessageFor(throwable), throwable);
- }
-
- public static String getMessageFor(Throwable throwable) {
- String message = Policy.bind(throwable.getClass().getName(), new Object[] {throwable.getMessage()});
- if (message.equals(throwable.getClass().getName()))
- message = Policy.bind("CVSCommunicationException.io", new Object[] {throwable.toString()}); //$NON-NLS-1$
- return message;
- }
-}

Back to the top