com.infoengine.exception.adapter
Class IEAdapterConnectionException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.servlet.jsp.JspException
              extended bycom.infoengine.util.IEException
                  extended bycom.infoengine.exception.adapter.IEAdapterException
                      extended bycom.infoengine.exception.adapter.IEAdapterConnectionException
All Implemented Interfaces:
LocalizableMessage, Serializable
Direct Known Subclasses:
NoAvailableConnectionException, UnknownConnectionException

public class IEAdapterConnectionException
extends IEAdapterException

This exception is thrown due to the errors or malfunctions resulting from your connection failure to the Enterprise Information Systems (EIS), or application servers. The connection failure can be anything from invalid connection parameters to connection timeout. You can customize your own connection exceptions by subclassing this class. You should always pass the EIS exceptions and applcation server exceptions along with your newly created IEAdapterConnectionException and throw it to let the front-end application to decide what action to take with the exceptions from the EIS or application servers.

See Also:
Serialized Form

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
IEAdapterConnectionException()
          Constructs a Info*Engine exception with no specified detailed message or embedded throwable object.
IEAdapterConnectionException(String s)
          Constructs a Info*Engine exception with a non-localizable detailed message.
IEAdapterConnectionException(String rb, String key, Object[] params)
          Constructs a Info*Engine exception with a localizable detailed message.
IEAdapterConnectionException(String s, Throwable t)
          Constructs a Info*Engine adapter exception with a non-localizable detailed message.
IEAdapterConnectionException(Throwable t)
          Constructs an Info*Engine adapter exception with no specified detailed message from adapter or embedded throwable object.
IEAdapterConnectionException(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.
IEAdapterConnectionException(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

IEAdapterConnectionException

public IEAdapterConnectionException()
Constructs a Info*Engine exception with no specified detailed message or embedded throwable object.


IEAdapterConnectionException

public IEAdapterConnectionException(String s)
Constructs a Info*Engine exception with a non-localizable detailed message.

Parameters:
s - the detailed message

IEAdapterConnectionException

public IEAdapterConnectionException(String rb,
                                    String key,
                                    Object[] params)
Constructs a Info*Engine exception with a localizable detailed message.


IEAdapterConnectionException

public IEAdapterConnectionException(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.

Parameters:
t - the embedded Throwable. It may be null.
s - the detailed message. It may be null.

IEAdapterConnectionException

public IEAdapterConnectionException(Throwable t,
                                    String rb,
                                    String key,
                                    Object[] params)
Constructs a Info*Engine exception with an embedded Throwable object and a localizable detailed message.

Parameters:
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 message
params - an optional set of objects to be formatted into the localizable message text.

IEAdapterConnectionException

public IEAdapterConnectionException(Throwable t)
Constructs an Info*Engine adapter exception with no specified detailed message from adapter or embedded throwable object.

Parameters:
t - the throwable object.

IEAdapterConnectionException

public IEAdapterConnectionException(String s,
                                    Throwable t)
Constructs a Info*Engine adapter exception with a non-localizable detailed message.

Parameters:
s - the detailed message
t - the embeded throwable object from the back end information system. It may be null.