Eclipse Platform v3.1

org.eclipse.team.internal.ccvs.core
Class CVSException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.eclipse.core.runtime.CoreException
              extended by org.eclipse.team.core.TeamException
                  extended by org.eclipse.team.internal.ccvs.core.CVSException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CVSAuthenticationException, CVSCommunicationException, CVSServerException

public class CVSException
extends TeamException

A checked expection representing a failure in the CVS plugin.

CVS exceptions contain a status object describing the cause of the exception.

See Also:
IStatus, Serialized Form

Field Summary
 
Fields inherited from class org.eclipse.team.core.TeamException
CONFLICT, IO_FAILED, NO_REMOTE_RESOURCE, NOT_AUTHORIZED, NOT_CHECKED_IN, NOT_CHECKED_OUT, OK, UNABLE
 
Constructor Summary
CVSException(CoreException e)
           
CVSException(int severity, int code, String message)
           
CVSException(int severity, int code, String message, Throwable e)
           
CVSException(IStatus status)
           
CVSException(String message)
           
CVSException(String message, Throwable e)
           
 
Method Summary
static CVSException wrapException(CoreException e)
           
static CVSException wrapException(Exception e)
           
static CVSException wrapException(IResource resource, String message, CoreException e)
           
static CVSException wrapException(IResource resource, String message, IOException e)
           
 
Methods inherited from class org.eclipse.team.core.TeamException
asTeamException, asTeamException
 
Methods inherited from class org.eclipse.core.runtime.CoreException
getStatus, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CVSException

public CVSException(CoreException e)

CVSException

public CVSException(int severity,
                    int code,
                    String message,
                    Throwable e)

CVSException

public CVSException(int severity,
                    int code,
                    String message)

CVSException

public CVSException(String message)

CVSException

public CVSException(String message,
                    Throwable e)

CVSException

public CVSException(IStatus status)
Method Detail

wrapException

public static CVSException wrapException(IResource resource,
                                         String message,
                                         IOException e)

wrapException

public static CVSException wrapException(IResource resource,
                                         String message,
                                         CoreException e)

wrapException

public static CVSException wrapException(Exception e)

wrapException

public static CVSException wrapException(CoreException e)

Eclipse Platform v3.1