|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.stardust.common.error.ApplicationException
public abstract class ApplicationException
Generic base exception.
| Constructor Summary | |
|---|---|
ApplicationException(ErrorCase error,
String message)
Constructs the Exception |
|
ApplicationException(ErrorCase error,
String message,
Throwable e)
Constructs the Exception |
|
ApplicationException(String message)
Constructs the Exception |
|
ApplicationException(String message,
Throwable e)
Constructs the Exception |
|
ApplicationException(Throwable e)
Constructs the Exception |
|
| Method Summary | |
|---|---|
ErrorCase |
getError()
Gets the ErrorCase for this exception |
List |
getInner()
Gets the stack trace for the root exception or an empty list if no root cause exception was supplied in the constructor |
String |
getLocalizedMessage()
|
boolean |
isLogged()
Returns if this exception was already logged |
void |
setLogged(boolean logged)
Set if this exception was already logged, If set to true, the logging framework will not log this exception anymore |
void |
setResourceBundle(ResourceBundle resourceBundle)
Sets the Resource Bundle for localizing the error message. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ApplicationException(String message)
message - - the error message for this exception
public ApplicationException(ErrorCase error,
String message)
message - - the error message for this exceptionerror - - the ErrorCase for this messagepublic ApplicationException(Throwable e)
e - - the root cause for this exception
public ApplicationException(String message,
Throwable e)
message - - the error message for this exceptione - - the root cause for this exception
public ApplicationException(ErrorCase error,
String message,
Throwable e)
error - - the ErrorCase for this messagemessage - - the error message for this exception,e - - the root cause for this exception| Method Detail |
|---|
public ErrorCase getError()
ErrorCase for this exception
ErrorCase set for this exceptionpublic List getInner()
public boolean isLogged()
public void setLogged(boolean logged)
logged - - if this exception was already loggedpublic void setResourceBundle(ResourceBundle resourceBundle)
ErrorCase set for this exception
resourceBundle - public String getLocalizedMessage()
getLocalizedMessage in class Throwable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||