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.Exception
A generic exception thrown from anyISVNClientAdapter
methods- Author:
- philip schatz
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
MERGE_CONFLICT
static int
NONE
static java.lang.String
OPERATION_INTERRUPTED
static int
UNSUPPORTED_FEATURE
-
Constructor Summary
Constructors Constructor Description SVNClientException()
Constructs a new exception withnull
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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAprError()
boolean
operationInterrupted()
void
setAprError(int aprError)
static SVNClientException
wrapException(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 withnull
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 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()
-
-