|
|||||||||||
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.ibm.cics.core.comm.ConnectionException
public class ConnectionException
Superclass of all exceptions that reflect an error in an attempt to use an IConnection
.
Nested Class Summary | |
---|---|
static class |
ConnectionException.Type
Deprecated. Clients should use subclasses of ConnectionException to give specific exception behaviour, rather than relying on this type enum. |
Constructor Summary | |
---|---|
ConnectionException(java.lang.Exception ex)
Constructor supplying a cause exception |
|
ConnectionException(java.lang.String message)
Constructor supplying a message |
|
ConnectionException(java.lang.String message,
java.lang.Throwable ex)
Constructor specifying a message and a cause. |
Method Summary | |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
getAttributes()
Deprecated. no longer used. |
ConnectionConfiguration |
getConfiguration()
Deprecated. no longer used |
ConnectionException.Type |
getExceptionType()
Deprecated. the type is no longer used. Problems should be reflected by the cause exception. |
boolean |
hasConfiguration()
Deprecated. |
void |
setConfiguration(ConnectionConfiguration config)
Deprecated. no longer used |
void |
setExceptionType(ConnectionException.Type type)
Deprecated. no longer used. ConnectionExceptions should use the underlying cause to reflect their type. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConnectionException(java.lang.String message)
message
- a message explaining the nature of the exception.public ConnectionException(java.lang.Exception ex)
ex
- an exception representing the underlying cause of this connection exceptionpublic ConnectionException(java.lang.String message, java.lang.Throwable ex)
message
- a message explaining the nature of the exception.ex
- an exception representing the underlying cause of this connection exceptionMethod Detail |
---|
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getAttributes()
Map
of attributes associated with this exception.@Deprecated public void setExceptionType(ConnectionException.Type type)
type
- the type of this exception@Deprecated public ConnectionException.Type getExceptionType()
@Deprecated public ConnectionConfiguration getConfiguration()
ConnectionConfiguration
in use by the connection that generated this exception.
@Deprecated public void setConfiguration(ConnectionConfiguration config)
ConnectionConfiguration
in use by the connection that generated this exception.
config
- the configuration in use by the connection that generated this exception@Deprecated public boolean hasConfiguration()
ConnectionConfiguration
assocaited with it.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |