public class PublishException extends Exception
Modifier and Type | Field and Description |
---|---|
static int |
ERROR_FAILED |
static int |
ERROR_FILE_EXISTS |
static int |
ERROR_INVALID_PASSWORD |
static int |
ERROR_INVALID_USERNAME_OR_PASSWORD |
static int |
ERROR_SUCCESSFUL |
static int |
ERROR_UNKNOWN |
Constructor and Description |
---|
PublishException(int errorCode) |
PublishException(int errorCode,
int httpReason) |
PublishException(int errorCode,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode() |
int |
getHttpReason() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final int ERROR_UNKNOWN
public static final int ERROR_FILE_EXISTS
public static final int ERROR_FAILED
public static final int ERROR_SUCCESSFUL
public static final int ERROR_INVALID_PASSWORD
public static final int ERROR_INVALID_USERNAME_OR_PASSWORD
public PublishException(int errorCode)
public PublishException(int errorCode, int httpReason)
public PublishException(int errorCode, Throwable cause)