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.ClientException
- All Implemented Interfaces:
Serializable
public class ClientException extends SubversionException
This exception is thrown whenever something goes wrong in the
Subversion JavaHL binding's JNI interface.
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClientException.ErrorMessageDescribes a single error message in a stack of messages associated with this exception. -
Method Summary
Modifier and Type Method Description static ClientExceptionfromException(Throwable t)A conversion routine for maintaining backwards compatibility.List<ClientException.ErrorMessage>getAllMessages()intgetAprError()StringgetMessage()StringgetSource()Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getAllMessages
-
fromException
A conversion routine for maintaining backwards compatibility.- Parameters:
t- The exception to (potentially) convert.- Returns:
tcoerced or converted into aClientException.
-
getSource
- Returns:
- The error source (e.g. line number).
-
getAprError
public int getAprError()- Returns:
- Any associated APR error code for a wrapped
svn_error_t.
-
getMessage
- Overrides:
getMessagein classThrowable- Returns:
- The description, with
sourceandaprErrorappended (if any).
-