org.tigris.subversion.svnclientadapter
Class SVNClientException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.tigris.subversion.svnclientadapter.SVNClientException
All Implemented Interfaces:
java.io.Serializable

public class SVNClientException
extends java.lang.Exception

A generic exception thrown from any ISVNClientAdapter methods

Author:
philip schatz
See Also:
Serialized Form

Field Summary
static int MERGE_CONFLICT
           
static int NONE
           
static java.lang.String OPERATION_INTERRUPTED
           
static int UNSUPPORTED_FEATURE
           
 
Constructor Summary
SVNClientException()
          Constructs a new exception with null as its detail message.
SVNClientException(java.lang.String message)
          Constructs a new exception with the specified detail message.
SVNClientException(java.lang.String message, java.lang.Throwable cause)
          Constructs a new exception with the specified detail message and cause.
SVNClientException(java.lang.Throwable cause)
          Constructs a new exception with the specified cause.
 
Method Summary
 int getAprError()
           
 boolean operationInterrupted()
           
 void setAprError(int aprError)
           
static SVNClientException wrapException(java.lang.Exception e)
          Facorty method for creating a delegating/wrapping exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final int NONE
See Also:
Constant Field Values

MERGE_CONFLICT

public static final int MERGE_CONFLICT
See Also:
Constant Field Values

UNSUPPORTED_FEATURE

public static final int UNSUPPORTED_FEATURE
See Also:
Constant Field Values

OPERATION_INTERRUPTED

public static final java.lang.String OPERATION_INTERRUPTED
See Also:
Constant Field Values
Constructor Detail

SVNClientException

public SVNClientException()
Constructs a new exception with null as its detail message.


SVNClientException

public SVNClientException(java.lang.String message)
Constructs a new exception with the specified detail message.

Parameters:
message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).

SVNClientException

public SVNClientException(java.lang.String message,
                          java.lang.Throwable cause)
Constructs a new exception with the specified detail message and cause.

Parameters:
message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

SVNClientException

public SVNClientException(java.lang.Throwable cause)
Constructs a new exception with the specified cause.

Parameters:
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
Method Detail

wrapException

public static SVNClientException wrapException(java.lang.Exception e)
Facorty method for creating a delegating/wrapping exception.

Parameters:
e - exception to wrap SVNClientException around
Returns:
an SVNClientException instance

getAprError

public int getAprError()

setAprError

public void setAprError(int aprError)

operationInterrupted

public boolean operationInterrupted()