public class SapphireException
extends java.lang.Exception
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TYPE_CONFIRM |
static java.lang.String |
TYPE_FAILURE |
static java.lang.String |
TYPE_INFORMATION |
static java.lang.String |
TYPE_VALIDATION |
| Constructor and Description |
|---|
SapphireException()
Default constructor
|
SapphireException(java.lang.String message) |
SapphireException(java.lang.String errorid,
java.lang.String message) |
SapphireException(java.lang.String errorid,
java.lang.String errorType,
java.lang.String message) |
SapphireException(java.lang.String errorid,
java.lang.String errorType,
java.lang.String message,
java.lang.Throwable e) |
SapphireException(java.lang.String errorid,
java.lang.String message,
java.lang.Throwable e) |
SapphireException(java.lang.String message,
java.lang.Throwable e) |
SapphireException(java.lang.Throwable e) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getErrorid()
Returns The errorid as specified by the Exception constructor.
|
java.lang.String |
getErrorType()
Returns The errortype as specified by the Exception constructor.
|
public static final java.lang.String TYPE_FAILURE
public static final java.lang.String TYPE_CONFIRM
public static final java.lang.String TYPE_VALIDATION
public static final java.lang.String TYPE_INFORMATION
public SapphireException()
public SapphireException(java.lang.String message)
message - Default messagepublic SapphireException(java.lang.String message,
java.lang.Throwable e)
message - Default messagee - Root causepublic SapphireException(java.lang.String errorid,
java.lang.String message,
java.lang.Throwable e)
errorid - Error idmessage - Default messagee - Root causepublic SapphireException(java.lang.String errorid,
java.lang.String message)
errorid - Error idmessage - Default messagepublic SapphireException(java.lang.String errorid,
java.lang.String errorType,
java.lang.String message)
errorid - Error iderrorType - Error type (from SapphireException.TYPE_XXXmessage - Default messagepublic SapphireException(java.lang.String errorid,
java.lang.String errorType,
java.lang.String message,
java.lang.Throwable e)
errorid - Error iderrorType - Error type (from SapphireException.TYPE_XXXmessage - Default messagee - Root causepublic SapphireException(java.lang.Throwable e)
e - Root cause