Package org.apache.subversion.javahl
Class NativeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.subversion.javahl.SubversionException
-
- org.apache.subversion.javahl.NativeException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ClientException
class NativeException extends SubversionException
This exception is thrown whenever something goes wrong in the Subversion JavaHL binding's JNI code.
-
-
Field Summary
Fields Modifier and Type Field Description private int
aprError
Any associated APR error code for a wrappedsvn_error_t
.private static long
serialVersionUID
private java.lang.String
source
Any associated error source (e.g.
-
Constructor Summary
Constructors Constructor Description NativeException(java.lang.String message, java.lang.String source, int aprError)
This constructor is only used by the native library.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAprError()
java.lang.String
getMessage()
java.lang.String
getSource()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
source
private java.lang.String source
Any associated error source (e.g. file name and line number) for a wrappedsvn_error_t
.
-
aprError
private int aprError
Any associated APR error code for a wrappedsvn_error_t
.
-
-
Constructor Detail
-
NativeException
NativeException(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
.
-
-