public abstract class VirgilServiceException extends RuntimeException
| Constructor and Description |
|---|
VirgilServiceException()
Create a new instance of
VirgilServiceException |
VirgilServiceException(Exception cause)
Create a new instance of
VirgilServiceException |
VirgilServiceException(int code)
Create a new instance of
VirgilServiceException |
VirgilServiceException(int code,
Exception cause)
Create a new instance of
VirgilServiceException |
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorCode() |
String |
getMessage() |
protected abstract String |
getMessageBundleName() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic VirgilServiceException()
VirgilServiceExceptionpublic VirgilServiceException(int code)
VirgilServiceExceptioncode - The error code.public VirgilServiceException(int code,
Exception cause)
VirgilServiceExceptioncode - The error code.cause - The cause.public VirgilServiceException(Exception cause)
VirgilServiceExceptioncause - The cause.public int getErrorCode()
public String getMessage()
getMessage in class Throwableprotected abstract String getMessageBundleName()
Copyright © 2016. All rights reserved.