|
||||||||||
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
javax.rad.remote.CommunicationException
public class CommunicationException
The CommunicationException
is a RuntimeException
for
client/server communication problems.
Constructor Summary | |
---|---|
CommunicationException()
Constructs a new CommunicationException with null as its
detail message. |
|
CommunicationException(java.lang.String pMessage)
Constructs a new CommunicationException with the specified detail message. |
|
CommunicationException(java.lang.String pMessage,
java.lang.Throwable pCause)
Constructs a new CommunicationException with the specified detail message and
cause. |
|
CommunicationException(java.lang.Throwable pCause)
Constructs a new CommunicationException with the specified cause and a
detail message of (cause==null ? |
Method Summary | |
---|---|
AbstractConnection |
getConnection()
Gets the connection which received the exception. |
void |
setConnection(AbstractConnection pConnection)
Sets the connection which received the exception. |
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 CommunicationException()
CommunicationException
with null
as its
detail message. The cause is not initialized, and may subsequently be initialized by
a call to Throwable.initCause(java.lang.Throwable)
.
public CommunicationException(java.lang.Throwable pCause)
CommunicationException
with the specified cause and a
detail message of (cause==null ? null : cause.toString())
(which typically contains the class and detail message of
cause).
pCause
- the cause (which is saved for later retrieval by the
Throwable.getCause()
method). (A null value is
permitted, and indicates that the cause is nonexistent or
unknown.)public CommunicationException(java.lang.String pMessage)
CommunicationException
with the specified detail message.
The cause is not initialized, and may subsequently be initialized by a call to
Throwable.initCause(java.lang.Throwable)
.
pMessage
- the detail message. The detail message is saved for
later retrieval by the Throwable.getMessage()
method.public CommunicationException(java.lang.String pMessage, java.lang.Throwable pCause)
CommunicationException
with the specified detail message and
cause. Note that the detail message associated with
cause
is not automatically incorporated in
this exception's detail message.
pMessage
- the detail message (which is saved for later retrieval
by the Throwable.getMessage()
method).pCause
- the cause (which is saved for later retrieval by the
Throwable.getCause()
method). (A null value is
permitted, and indicates that the cause is nonexistent or
unknown.)Method Detail |
---|
public void setConnection(AbstractConnection pConnection)
pConnection
- the Exception receiverpublic AbstractConnection getConnection()
null
if Exception wasn't caught by an
AbstractConnection
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |