|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.hyperion.css.CSSBaseException
com.hyperion.css.CSSException
public class CSSException
| Field Summary |
|---|
| Fields inherited from class com.hyperion.css.CSSBaseException |
|---|
area_Code, error_Code, errorArguments, errorMessage, hasErrorArguments, hasRootCause, locale, logLevel, providerName, rootCausesList, rootMessagesList |
| Constructor Summary | |
|---|---|
CSSException(java.util.Map context,
java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.String msg)
|
|
CSSException(java.util.Map context,
java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.String msg,
java.lang.Object param1)
|
|
CSSException(java.util.Map context,
java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.String msg,
java.lang.Object[] args)
|
|
CSSException(java.util.Map context,
java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.String msg,
java.lang.Throwable thrown)
|
|
CSSException(java.util.Map context,
java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.String msg,
java.lang.Throwable thrown,
java.lang.Object param)
|
|
CSSException(java.util.Map context,
java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.String msg,
java.lang.Throwable thrown,
java.lang.Object[] args)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getErrorCode()
The error code. |
java.lang.String |
getExceptionMessage()
|
java.lang.String |
getExceptionMessage(java.util.Locale locale)
|
java.lang.String |
getMessage()
Returns the detail message string of this exception. |
java.lang.String |
getMessage(java.util.Locale locale)
Returns the detail localized message string of this exception for the specified locale. |
java.lang.Throwable |
getRootCause()
Obtain the root exception, if any. |
java.lang.Throwable |
getRootException()
|
java.lang.String |
getRootMessage()
|
void |
printStackTrace()
|
void |
printStackTrace(java.io.PrintStream pS)
|
void |
printStackTrace(java.io.PrintWriter pW)
|
void |
setErrorCode(java.lang.String errorCode)
|
void |
setExceptionMessage(java.lang.String msgKey)
|
void |
setExceptionMessage(java.lang.String msgKey,
java.lang.Object param1)
|
void |
setExceptionMessage(java.lang.String msgKey,
java.lang.Object[] args)
|
void |
setRootException(java.lang.Throwable rootException)
|
java.lang.String |
toString()
Returns the string representation. |
| Methods inherited from class com.hyperion.css.CSSBaseException |
|---|
getCSSAreaCode, getCSSErrorCode, getExceptionInfo, getProvider, getRootCauses, getRootMessages, setErrorCode, setExceptionInfo, setLocale, setRootCause |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CSSException(java.util.Map context,
java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.String msg)
public CSSException(java.util.Map context,
java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.String msg,
java.lang.Throwable thrown)
context - sourceClass - sourceMethod - msg - thrown -
public CSSException(java.util.Map context,
java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.String msg,
java.lang.Throwable thrown,
java.lang.Object param)
public CSSException(java.util.Map context,
java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.String msg,
java.lang.Throwable thrown,
java.lang.Object[] args)
public CSSException(java.util.Map context,
java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.String msg,
java.lang.Object param1)
public CSSException(java.util.Map context,
java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.String msg,
java.lang.Object[] args)
| Method Detail |
|---|
public java.lang.String getExceptionMessage()
public java.lang.String getExceptionMessage(java.util.Locale locale)
public void setExceptionMessage(java.lang.String msgKey)
public void setExceptionMessage(java.lang.String msgKey,
java.lang.Object param1)
public void setExceptionMessage(java.lang.String msgKey,
java.lang.Object[] args)
public java.lang.String getMessage()
CSSBaseExceptionThe message will be prefixed with area code and error code like
AREA_CODE:ERROR_CODE:ERROR_MESSAGE (e.g, 10:100:General Error Occured).
getMessage in class CSSBaseExceptionpublic java.lang.String getMessage(java.util.Locale locale)
CSSBaseExceptionThe message will be prefixed with area code and error code like
AREA_CODE:ERROR_CODE:ERROR_MESSAGE (e.g, 10:100:General Error Occured).
Please note that if the locale is not specified, the default locale set for the system is used.
getMessage in class CSSBaseExceptionlocale - - the locale object to localize the message
public java.lang.String getRootMessage()
public java.lang.String getErrorCode()
CSSBaseExceptionThe error code.
getErrorCode in class CSSBaseExceptionpublic void setErrorCode(java.lang.String errorCode)
public java.lang.Throwable getRootException()
public java.lang.Throwable getRootCause()
CSSBaseExceptionObtain the root exception, if any.
getRootCause in class CSSBaseExceptionpublic void setRootException(java.lang.Throwable rootException)
public java.lang.String toString()
CSSBaseExceptionReturns the string representation.
toString in class CSSBaseExceptionpublic void printStackTrace()
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintStream pS)
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintWriter pW)
printStackTrace in class java.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||