|
|||||||||||
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
com.infoengine.exception.adapter.IEAdapterException
This is the base class for the other adapter exception classes defined with JADK. The IEAdapterException is subclassed from the Info*Engine IEException class that defines and standardizes the output format of all messages across the Info*Engine applications, servers, and adapters. IEException class wraps a IEMessage and a Throwable objects, of which it saves your localized message from the adapter resouce bundle and an exception from the Enterprise Information Systems (EIS) respectively. You may customize your adapter exceptions by sub- classing this class to define necessary variables to pass to the front-end application. If you need to pass the partial results from your EIS through the exception class, you will need the create IEPartialResultsException in the pacakge com.infoengine.exception, and add your partial results by calling setCollection method from the IEPartialResultsException class. To pass the IeCollection object in your method parameter, you can invoke the addVdb method inside the JADK RequestContext.
Field Summary |
Fields inherited from class com.infoengine.util.IEException |
GETMESSAGE_LINE_SEPARATOR, TOSTRING_LINE_SEPARATOR |
Fields inherited from class javax.servlet.jsp.JspException |
|
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
Constructor Summary | |
IEAdapterException()
Constructs a Info*Engine exception with no specified detailed message or embedded throwable object. |
|
IEAdapterException(String s)
Constructs a Info*Engine exception with a non-localizable detailed message. |
|
IEAdapterException(String rb,
String key,
Object[] params)
Constructs a Info*Engine exception with a localizable detailed message. |
|
IEAdapterException(String s,
Throwable t)
Constructs a Info*Engine adapter exception with a non-localizable detailed message. |
|
IEAdapterException(Throwable t)
Constructs an Info*Engine adapter exception with no specified detailed message from adapter or embedded throwable object. |
|
IEAdapterException(Throwable t,
String s)
Constructs a Info*Engine exception with an embedded Throwable object, usually from the current JVM or from the back end information system, and non-localizable detailed message. |
|
IEAdapterException(Throwable t,
String rb,
String key,
Object[] params)
Constructs a Info*Engine exception with an embedded Throwable object and a localizable detailed message. |
Methods inherited from class com.infoengine.util.IEException |
getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getmessage, getMessage, getNestedExceptionString, getNestedExceptionString, getNestedThrowable, printStackTrace, printStackTrace, setLocalizedMessage, toString, toString |
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 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public IEAdapterException()
public IEAdapterException(String s)
s
- the detailed messagepublic IEAdapterException(String rb, String key, Object[] params)
public IEAdapterException(Throwable t, String s)
t
- the embedded Throwable. It may be null.s
- the detailed message. It may be null.public IEAdapterException(Throwable t, String rb, String key, 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.public IEAdapterException(Throwable t)
t
- the throwable object.public IEAdapterException(String s, Throwable t)
s
- the detailed messaget
- the embeded throwable object from the back end information
system. It may be null.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |