public class VtiHandlerException extends RuntimeException
VtiSoapException
Modifier and Type | Field and Description |
---|---|
static VtiError |
ALREADY_EXISTS |
static VtiError |
BAD_URL |
static VtiError |
DOC_CHECKED_OUT |
static VtiError |
DOC_NOT_CHECKED_OUT |
static VtiError |
DOES_NOT_EXIST |
static VtiError |
FILE_ALREADY_EXISTS |
static VtiError |
FILE_OPEN_FOR_WRITE |
static VtiError |
FOLDER_ALREADY_EXISTS |
static VtiError |
HAS_ILLEGAL_CHARACTERS |
static VtiError |
ITEM_NOT_FOUND |
static VtiError |
LIST_NOT_FOUND |
static VtiError |
NO_PERMISSIONS |
static VtiError |
NOT_FOUND |
static VtiError |
OWSSVR_ERRORACCESSDENIED |
static VtiError |
PRIMARY_PARENT_NOT_EXIST |
static VtiError |
REMOVE_DIRECTORY |
static VtiError |
REMOVE_FILE |
static VtiError |
UNDEFINED |
static VtiError |
URL_DIR_NOT_FOUND |
static VtiError |
URL_NOT_FOUND |
Constructor and Description |
---|
VtiHandlerException(String message)
Create exception with specified message
|
VtiHandlerException(String message,
int code,
Throwable throwable)
Create exception with specified message and throwable object
|
VtiHandlerException(String message,
Throwable throwable)
Create exception with specified message and throwable object
|
VtiHandlerException(Throwable throwable)
Create exception with specified throwable object
|
VtiHandlerException(VtiError error)
Create exception with specified message
|
VtiHandlerException(VtiError error,
Throwable throwable)
Create exception with specified message ant throwable object
|
Modifier and Type | Method and Description |
---|---|
VtiError |
getError()
Return the underlying error, if known,
or
VtiError.V_UNDEFINED if not |
long |
getErrorCode()
Return the error code, or -1 if not known
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final VtiError NOT_FOUND
public static final VtiError ITEM_NOT_FOUND
public static final VtiError LIST_NOT_FOUND
public static final VtiError NO_PERMISSIONS
public static final VtiError ALREADY_EXISTS
public static final VtiError DOES_NOT_EXIST
public static final VtiError URL_NOT_FOUND
public static final VtiError OWSSVR_ERRORACCESSDENIED
public static final VtiError BAD_URL
public static final VtiError UNDEFINED
public static final VtiError DOC_NOT_CHECKED_OUT
public static final VtiError DOC_CHECKED_OUT
public static final VtiError PRIMARY_PARENT_NOT_EXIST
public static final VtiError FOLDER_ALREADY_EXISTS
public static final VtiError FILE_ALREADY_EXISTS
public static final VtiError REMOVE_DIRECTORY
public static final VtiError FILE_OPEN_FOR_WRITE
public static final VtiError REMOVE_FILE
public static final VtiError URL_DIR_NOT_FOUND
public static final VtiError HAS_ILLEGAL_CHARACTERS
public VtiHandlerException(VtiError error)
error
- the specified errorpublic VtiHandlerException(String message)
message
- the specified messagepublic VtiHandlerException(VtiError error, Throwable throwable)
error
- the specified errorthrowable
- public VtiHandlerException(String message, int code, Throwable throwable)
message
- the specified messagethrowable
- public VtiHandlerException(String message, Throwable throwable)
message
- the specified messagethrowable
- public VtiHandlerException(Throwable throwable)
throwable
- public long getErrorCode()
public VtiError getError()
VtiError.V_UNDEFINED
if notCopyright © 2005–2017 Alfresco Software. All rights reserved.