public class DwsException extends RuntimeException
VtiSoapException
)
nor via Error IDs (which go via VtiHandlerException
)Constructor and Description |
---|
DwsException(DwsError error)
Create exception with specified message
|
DwsException(DwsError error,
Throwable throwable)
Create exception with specified message and throwable object
|
DwsException(String message)
Create exception with specified message
|
Modifier and Type | Method and Description |
---|---|
DwsError |
getError()
Return the underlying error, if known,
or
DwsError.FAILED if not |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DwsException(DwsError error)
error
- the specified errorpublic DwsException(String message)
message
- the specified messagepublic DwsError getError()
DwsError.FAILED
if notCopyright © 2005–2017 Alfresco Software. All rights reserved.