public class ClientException extends NativeException
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
Constructor and Description |
---|
ClientException(ClientException ex)
This constructor is for backward compat.
|
ClientException(java.lang.String message,
java.lang.String source,
int aprError)
This constructor is only used by the native library.
|
Modifier and Type | Method and Description |
---|---|
(package private) static ClientException |
fromException(java.lang.Throwable t)
A conversion routine for maintaining backwards compatibility.
|
getAprError, getMessage, getSource
private static final long serialVersionUID
ClientException(java.lang.String message, java.lang.String source, int aprError)
message
- A description of the problem.source
- The error's source.aprError
- Any associated APR error code for a wrapped
svn_error_t
.ClientException(ClientException ex)
static ClientException fromException(java.lang.Throwable t)
t
- The exception to (potentially) convert.t
coerced or converted into a
ClientException
.