public class SubversionException extends RuntimeException
SubversionException is the superclass of those exceptions that can be thrown in the subversion module| Constructor and Description |
|---|
SubversionException(String message)
Constructs a new SubversionException exception with the specified detail message.
|
SubversionException(String message,
int httpStatusCode)
Constructs a new SubversionException exception with the specified detail message.
|
SubversionException(String message,
Throwable cause)
Constructs a new SubversionException with the specified detail message and
cause.
|
SubversionException(String message,
Throwable cause,
int httpStatusCode)
Constructs a new SubversionException with the specified detail message and
cause.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getHttpStatusCode()
Returns the status code of the server response
|
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic SubversionException(String message)
Throwable.initCause(java.lang.Throwable)message - the detail message. The detail message is saved for
later retrieval by the Throwable.getMessage() methodpublic SubversionException(String message, int httpStatusCode)
Throwable.initCause(java.lang.Throwable)message - the detail message. The detail message is saved for
later retrieval by the Throwable.getMessage() methodhttpStatusCode - for each error that is reported by the underlying subversion server,
the HTTP status code is reportedpublic SubversionException(String message, @Nullable Throwable cause)
Note that the detail message associated with
cause is not automatically incorporated in
this runtime exception's detail message.
message - the detail message (which is saved for later retrieval
by the Throwable.getMessage() method)cause - the cause (which is saved for later retrieval by the
Throwable.getCause() method). (A null value is
permitted, and indicates that the cause is nonexistent or
unknown.)public SubversionException(String message, @Nullable Throwable cause, int httpStatusCode)
Note that the detail message associated with
cause is not automatically incorporated in
this runtime exception's detail message.
message - the detail message (which is saved for later retrieval
by the Throwable.getMessage() method).cause - the cause (which is saved for later retrieval by the
Throwable.getCause() method). (A null value is
permitted, and indicates that the cause is nonexistent or
unknown.)httpStatusCode - for each error that is reported by the underlying subversion server,
the HTTP status code is reported, for internal error this is 0Copyright © 2013–2014 shadowhunt. All rights reserved.