|
|||||||||
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.crystaldecisions.reports.common.CrystalException
public abstract class CrystalException
The base class for almost all exceptions thrown by the Java Reporting Component, including FormulaFunctionCallException
and
other FormulaExceptions
.
Constructor Summary | |
---|---|
CrystalException(java.lang.String RCI,
java.lang.String debugInfo,
CrystalException otherException)
Internal use only. |
|
CrystalException(java.lang.String RCI,
java.lang.String debugInfo,
CrystalResourcesFactory resourcesFactory,
java.lang.String resourceKey)
Internal use only. |
|
CrystalException(java.lang.String RCI,
java.lang.String debugInfo,
CrystalResourcesFactory resourcesFactory,
java.lang.String resourceKey,
java.lang.Object substitutionStrings)
Internal use only. |
|
CrystalException(java.lang.String RCI,
java.lang.String debugInfo,
CrystalResourcesFactory resourcesFactory,
java.lang.String resourceKey,
java.lang.Object substitutionStrings,
java.lang.Throwable cause)
Internal use only. |
|
CrystalException(java.lang.String RCI,
java.lang.String debugInfo,
CrystalResourcesFactory resourcesFactory,
java.lang.String resourceKey,
java.lang.Throwable cause)
Internal use only. |
Method Summary | ||
---|---|---|
|
findCause(java.lang.Class<T> throwable)
Digs into the cause chain to find a cause of the specified type. |
|
java.lang.String |
getLocalizedMessage(java.util.Locale locale)
Gets the localized message from the resource bundle using the given locale. |
|
java.lang.String |
getMessage()
Gets the localized message from the resource bundle using the default locale. |
|
java.lang.String |
getResourceKey()
Gets the key used to retrieve a resource value from the resource bundle. |
|
java.lang.String |
getRootCauseIdentifier()
Gets the root cause identifier of the exception. |
|
|
isCausedByA(java.lang.Class<T> throwable)
Digs into the cause chain to see if this exception was caused by the specified type of throwable. |
|
void |
printStackTrace()
Prints the stack trace. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CrystalException(java.lang.String RCI, java.lang.String debugInfo, CrystalResourcesFactory resourcesFactory, java.lang.String resourceKey)
Internal use only.
public CrystalException(java.lang.String RCI, java.lang.String debugInfo, CrystalResourcesFactory resourcesFactory, java.lang.String resourceKey, java.lang.Throwable cause)
Internal use only.
public CrystalException(java.lang.String RCI, java.lang.String debugInfo, CrystalResourcesFactory resourcesFactory, java.lang.String resourceKey, java.lang.Object substitutionStrings)
Internal use only.
public CrystalException(java.lang.String RCI, java.lang.String debugInfo, CrystalResourcesFactory resourcesFactory, java.lang.String resourceKey, java.lang.Object substitutionStrings, java.lang.Throwable cause)
Internal use only.
public CrystalException(java.lang.String RCI, java.lang.String debugInfo, CrystalException otherException)
Internal use only.
Method Detail |
---|
public void printStackTrace()
Prints the stack trace.
printStackTrace
in class java.lang.Throwable
public java.lang.String getResourceKey()
Gets the key used to retrieve a resource value from the resource bundle.
String
that specifies the keypublic java.lang.String getRootCauseIdentifier()
Gets the root cause identifier of the exception.
String
that specifies the rootCauseIDpublic java.lang.String getMessage()
Gets the localized message from the resource bundle using the default locale.
getMessage
in class java.lang.Throwable
String
that specifies the localized messagepublic java.lang.String getLocalizedMessage(java.util.Locale locale)
Gets the localized message from the resource bundle using the given locale.
String
that specifies the localized messagepublic <T extends java.lang.Throwable> boolean isCausedByA(java.lang.Class<T> throwable)
T
- Type of the throwable we are looking forthrowable
- The Class instance for the throwable we are looking for.
public <T extends java.lang.Throwable> T findCause(java.lang.Class<T> throwable)
T
- Type of the throwable that we are looking forthrowable
- The Class instance for the exception we are looking for.
null
if not found.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |