Class SVNClientException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.tigris.subversion.svnclientadapter.SVNClientException
- All Implemented Interfaces:
Serializable
A generic exception thrown from any
ISVNClientAdapter
methods- Author:
- philip schatz
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final String
static final int
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new exception withnull
as its detail message.SVNClientException
(String message) Constructs a new exception with the specified detail message.SVNClientException
(String message, Throwable cause) Constructs a new exception with the specified detail message and cause.SVNClientException
(Throwable cause) Constructs a new exception with the specified cause. -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
void
setAprError
(int aprError) static SVNClientException
Facorty method for creating a delegating/wrapping exception.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
NONE
public static final int NONE- See Also:
-
MERGE_CONFLICT
public static final int MERGE_CONFLICT- See Also:
-
UNSUPPORTED_FEATURE
public static final int UNSUPPORTED_FEATURE- See Also:
-
OPERATION_INTERRUPTED
- See Also:
-
-
Constructor Details
-
SVNClientException
public SVNClientException()Constructs a new exception withnull
as its detail message. -
SVNClientException
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
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
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 Details
-
wrapException
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()
-