public class XSException
extends java.lang.Exception
| Constructor and Description |
|---|
XSException()
Creates a new
XSException. |
XSException(java.lang.String message)
Creates a new XSException with the specified exception message.
|
XSException(java.lang.String errKey, java.lang.Object[] parameters)
Creates a new XSException with the specified error key and parameters.
|
XSException(java.lang.String errKey, java.lang.Object[] parameters, java.lang.Throwable cause)
Creates a new XSException with the specified error key, parameters, and cause of error.
|
XSException(java.lang.String message, java.lang.Throwable cause)
Creates a new XSException with the specified exception message and cause of exception.
|
XSException(java.lang.Throwable cause)
Creates a new XSException with the specified cause of the exception.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMessage()
Returns the detailed message of the exception.
|
java.lang.String |
getMessage(java.util.Locale lc)
Returns the detailed message of the exception in the specified Locale.
|
public XSException()
XSException.public XSException(java.lang.String message)
message - the exception messagepublic XSException(java.lang.Throwable cause)
cause - the cause of the exceptionpublic XSException(java.lang.String message,
java.lang.Throwable cause)
message - the exception messagecause - the cause of the exceptionpublic XSException(java.lang.String errKey,
java.lang.Object[] parameters,
java.lang.Throwable cause)
errKey - the error keyparameters - the parameterscause - the cause of the errorpublic XSException(java.lang.String errKey,
java.lang.Object[] parameters)
errKey - the error keyparameters - the parameterspublic java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic java.lang.String getMessage(java.util.Locale lc)
lc - Locale