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:
Serializable
This exception is thrown whenever something goes wrong in the
Subversion JavaHL binding's JNI interface.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionClientException
(String message, String source, int aprError) This constructor is only used by the native library. -
Method Summary
Modifier and TypeMethodDescriptionstatic ClientException
A conversion routine for maintaining backwards compatibility.Methods inherited from class org.apache.subversion.javahl.NativeException
getAprError, getMessage, getSource
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
ClientException
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 Details
-
fromException
A conversion routine for maintaining backwards compatibility.- Parameters:
t
- The exception to (potentially) convert.- Returns:
t
coerced or converted into aClientException
.
-