Package org.apache.subversion.javahl
Class ClientException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.subversion.javahl.SubversionException
-
- org.apache.subversion.javahl.NativeException
-
- org.apache.subversion.javahl.ClientException
-
- All Implemented Interfaces:
java.io.Serializable
public class ClientException extends NativeException
This exception is thrown whenever something goes wrong in the Subversion JavaHL binding's JNI interface.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description ClientException(java.lang.String message, java.lang.String source, int aprError)
This constructor is only used by the native library.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClientException
fromException(java.lang.Throwable t)
A conversion routine for maintaining backwards compatibility.-
Methods inherited from class org.apache.subversion.javahl.NativeException
getAprError, getMessage, getSource
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ClientException
ClientException(java.lang.String message, java.lang.String source, int aprError)
This constructor is only used by the native library.- Parameters:
message
- A description of the problem.source
- The error's source.aprError
- Any associated APR error code for a wrappedsvn_error_t
.
-
-
Method Detail
-
fromException
public static ClientException fromException(java.lang.Throwable t)
A conversion routine for maintaining backwards compatibility.- Parameters:
t
- The exception to (potentially) convert.- Returns:
t
coerced or converted into aClientException
.
-
-