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:
java.io.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
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClientExceptionfromException(java.lang.Throwable t)A conversion routine for maintaining backwards compatibility.intgetAprError()java.lang.StringgetMessage()java.lang.StringgetSource()
-
-
-
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:
tcoerced or converted into aClientException.
-
getSource
public java.lang.String 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.
-
-