|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.servlet.jsp.JspException
com.infoengine.util.IEException
public class IEException
| Field Summary | |
|---|---|
static java.lang.String |
GETMESSAGE_LINE_SEPARATOR
|
static java.lang.String |
TOSTRING_LINE_SEPARATOR
|
| Constructor Summary | |
|---|---|
IEException()
Constructs a Info*Engine exception with no specified detailed message or embedded throwable object. |
|
IEException(java.lang.String s)
Constructs a Info*Engine exception with a non-localizable detailed message. |
|
IEException(java.lang.String rb,
java.lang.String key,
java.lang.Object[] params)
Constructs a Info*Engine exception with a localizable detailed message. |
|
IEException(java.lang.Throwable t)
Constructs a Info*Engine exception with a throwable. |
|
IEException(java.lang.Throwable t,
java.lang.String s)
Constructs a Info*Engine exception with an embedded Throwable object and non-localizable detailed message. |
|
IEException(java.lang.Throwable t,
java.lang.String rb,
java.lang.String key,
java.lang.Object[] params)
Constructs a Info*Engine exception with an embedded Throwable object and a localizable detailed message. |
|
| Method Summary | |
|---|---|
java.lang.String |
getLocalizedMessage()
Returns the localized message, including nested exception. |
java.lang.String |
getLocalizedMessage(boolean nested)
Returns the localized message, optionally including nested exception. |
java.lang.String |
getLocalizedMessage(java.util.Locale locale)
Returns the localized message, for the specified locale, including nested exception. |
java.lang.String |
getLocalizedMessage(java.util.Locale locale,
boolean nested)
Returns the localized message, for the specified locale, optionally including nested exception. |
java.lang.String |
getmessage()
Returns the exception message. |
java.lang.String |
getMessage()
|
static java.lang.String |
getNestedExceptionString(java.lang.String msg)
Returns the localized form of a "nested exception is" string. |
static java.lang.String |
getNestedExceptionString(java.lang.String msg,
java.util.Locale locale)
Returns the localized form of a "nested exception is" string. |
java.lang.Throwable |
getNestedThrowable()
Returns the embedded throwable object. |
void |
printStackTrace()
Prints this IEException and the backtrace of its most
deeply nested embedded Throwable to the standard error stream. |
void |
printStackTrace(java.io.PrintStream s)
Prints this IEException and the backtrace of its most
deeply nested embedded Throwable to the specified print stream. |
java.lang.String |
toString()
Returns a description of this IEException. |
java.lang.String |
toString(boolean nested)
Returns a description of this IEException. |
| Methods inherited from class javax.servlet.jsp.JspException |
|---|
getRootCause |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static java.lang.String GETMESSAGE_LINE_SEPARATOR
public static java.lang.String TOSTRING_LINE_SEPARATOR
| Constructor Detail |
|---|
public IEException()
public IEException(java.lang.String s)
s - the detailed message
public IEException(java.lang.String rb,
java.lang.String key,
java.lang.Object[] params)
public IEException(java.lang.Throwable t)
t - the throwable object
public IEException(java.lang.Throwable t,
java.lang.String s)
t - the embedded Throwable. It may be null.s - the detailed message. It may be null.
public IEException(java.lang.Throwable t,
java.lang.String rb,
java.lang.String key,
java.lang.Object[] params)
t - the embedded Throwable. It may be null.rb - the name of the base resource bundle subclass containing
the localizable message.key - the key associated with the localizable messageparams - an optional set of objects to be formatted into
the localizable message text.| Method Detail |
|---|
public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic java.lang.String getmessage()
public java.lang.String getLocalizedMessage()
getLocalizedMessage in class java.lang.Throwablepublic java.lang.String getLocalizedMessage(boolean nested)
nested - true if nested exceptions should be included in
the message.public java.lang.String getLocalizedMessage(java.util.Locale locale)
getLocalizedMessage in interface com.infoengine.util.LocalizableMessagelocale - The locale for which to generate the message.
public java.lang.String getLocalizedMessage(java.util.Locale locale,
boolean nested)
locale - The locale for which to generate the message.nested - true if nested exceptions should be included in
the message.public java.lang.Throwable getNestedThrowable()
public static java.lang.String getNestedExceptionString(java.lang.String msg)
msg - The current message.
public static java.lang.String getNestedExceptionString(java.lang.String msg,
java.util.Locale locale)
msg - The current message.locale - The locale to use.public void printStackTrace()
IEException and the backtrace of its most
deeply nested embedded Throwable to the standard error stream.
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintStream s)
IEException and the backtrace of its most
deeply nested embedded Throwable to the specified print stream.
printStackTrace in class java.lang.Throwables - The stream on which to print the stack trace.public java.lang.String toString()
IEException. The
description includes the descriptions of the nested throwable objects
that are embedded within this IEException.
toString in class java.lang.Throwablepublic java.lang.String toString(boolean nested)
IEException. The
description optionally includes the descriptions of the nested throwable
objects that are embedded within this IEException.
nested - true if nested exceptions should be included in
the message.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||