|
||||||||||
| 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
The base class for almost all exceptions thrown by the Java Reporting Component, including FormulaFunctionCallException and
other FormulaExceptions.
| Constructor Summary | |
CrystalException(CrystalException otherException)
Internal use only. |
|
CrystalException(CrystalResourcesFactory resourcesFactory,
java.lang.String resourceKey)
Internal use only. |
|
CrystalException(CrystalResourcesFactory resourcesFactory,
java.lang.String resourceKey,
java.lang.Object substitutionStrings)
Internal use only. |
|
CrystalException(CrystalResourcesFactory resourcesFactory,
java.lang.String resourceKey,
java.lang.Object substitutionStrings,
java.lang.Throwable cause)
Internal use only. |
|
CrystalException(CrystalResourcesFactory resourcesFactory,
java.lang.String resourceKey,
java.lang.Throwable cause)
Internal use only. |
|
| Method Summary | |
java.lang.Throwable |
getCause()
Gets the root cause of the exception. |
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. |
void |
printStackTrace()
Prints the stack trace. |
void |
printStackTrace(java.io.PrintStream s)
Prints the stack trace to the location specified by the parameter s.
|
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CrystalException(CrystalResourcesFactory resourcesFactory,
java.lang.String resourceKey)
Internal use only.
public CrystalException(CrystalResourcesFactory resourcesFactory,
java.lang.String resourceKey,
java.lang.Throwable cause)
Internal use only.
public CrystalException(CrystalResourcesFactory resourcesFactory,
java.lang.String resourceKey,
java.lang.Object substitutionStrings)
Internal use only.
public CrystalException(CrystalResourcesFactory resourcesFactory,
java.lang.String resourceKey,
java.lang.Object substitutionStrings,
java.lang.Throwable cause)
Internal use only.
public CrystalException(CrystalException otherException)
Internal use only.
| Method Detail |
public void printStackTrace()
Prints the stack trace.
public void printStackTrace(java.io.PrintStream s)
Prints the stack trace to the location specified by the parameter s.
s - the PrintStream object to print the stack trace topublic java.lang.Throwable getCause()
Gets the root cause of the exception.
Throwable objectpublic 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 getMessage()
Gets the localized message from the resource bundle using the default locale.
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 message
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||