|
|||||||||
| 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.businessobjects.customds.ui.exception.CDSExtensionException
public class CDSExtensionException
CDSExtensionException is an exception class that the plug-in uses for all handled exceptions, to enable the Framework to display localized messages
to the user and append exception messages in the Framework's or product's log.
NOTE: The Framework displays error messages only for a few methods. For example, the Framework displays an error message when the client extension throws an exception while trying to retrieve the user interface component.
| Constructor Summary | |
|---|---|
CDSExtensionException(java.lang.String logMsg,
java.lang.String displayMsg)
Class Constructor |
|
CDSExtensionException(java.lang.Throwable t,
java.lang.String logMsg,
java.lang.String displayMsg)
Class Constructor |
|
| Method Summary | |
|---|---|
java.lang.Throwable |
getCause()
Returns the cause of CDSExtensionException or null, if the cause is unknown. |
java.lang.String |
getDisplayMessage()
Internal Use Only |
java.lang.Throwable |
getException()
Returns the CDSExtensionException as a Throwable object. |
java.lang.String |
getMessage()
Internal Use Only |
java.lang.String |
getMessage(boolean withStack)
Internal Use Only |
java.lang.String |
getStackTraceAsString()
Internal Use Only |
java.lang.String |
toString()
Internal Use Only |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CDSExtensionException(java.lang.String logMsg,
java.lang.String displayMsg)
logMsg - The exception message that must be logged.displayMsg - The exception message that must be displayed to the user.
public CDSExtensionException(java.lang.Throwable t,
java.lang.String logMsg,
java.lang.String displayMsg)
t - The java.lang.Throwable object for obtaining the stack trace.logMsg - The exception message.displayMsg - The exception message that must be displayed to the user.| Method Detail |
|---|
public java.lang.Throwable getException()
CDSExtensionException as a Throwable object.
This method enables you to retrieve the Throwable object that is
used to create CDSExtensionException.
Throwable object that is used to create the CDSExtensionException object,
or CDSExtensionException as a Throwable object.public java.lang.Throwable getCause()
CDSExtensionException or null, if the cause is unknown.
This method returns the cause that was supplied by one of the constructors that contains a Throwable object,
or by the initCause(Throwable) method.
getCause in class java.lang.ThrowableCDSExtensionException or null, if the cause is unknown.public java.lang.String getMessage(boolean withStack)
public java.lang.String getMessage()
getMessage in class java.lang.ThrowableThrowable.getMessage()public java.lang.String getDisplayMessage()
public java.lang.String toString()
toString in class java.lang.Throwablepublic java.lang.String getStackTraceAsString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||