Class SVNClientException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.tigris.subversion.svnclientadapter.SVNClientException
-
- All Implemented Interfaces:
java.io.Serializable
public class SVNClientException extends java.lang.ExceptionA generic exception thrown from anyISVNClientAdaptermethods- Author:
- philip schatz
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intMERGE_CONFLICTstatic intNONEstatic java.lang.StringOPERATION_INTERRUPTEDstatic intUNSUPPORTED_FEATURE
-
Constructor Summary
Constructors Constructor Description SVNClientException()Constructs a new exception withnullas 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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAprError()booleanoperationInterrupted()voidsetAprError(int aprError)static SVNClientExceptionwrapException(java.lang.Exception e)Facorty method for creating a delegating/wrapping exception.
-
-
-
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 withnullas 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 theThrowable.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 theThrowable.getMessage()method).cause- the cause (which is saved for later retrieval by theThrowable.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 theThrowable.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()
-
-