| 
 | |||||||||
| 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.ericsson.otp.erlang.OtpException
com.ericsson.otp.erlang.OtpErlangException
com.ericsson.otp.erlang.OtpErlangExit
public class OtpErlangExit
Exception raised when a communication channel is broken. This can be caused for a number of reasons, for example:
OtpConnection, 
Serialized Form| Constructor Summary | |
|---|---|
| OtpErlangExit(OtpErlangObject reason)Create an OtpErlangExit exception with the given reason. | |
| OtpErlangExit(OtpErlangObject reason,
              OtpErlangPid pid)Create an OtpErlangExit exception with the given reason and sender pid. | |
| OtpErlangExit(java.lang.String reason)Equivalent to OtpErlangExit(new
 OtpErlangAtom(reason). | |
| OtpErlangExit(java.lang.String reason,
              OtpErlangPid pid)Equivalent to OtpErlangExit(new OtpErlangAtom(reason),
 pid). | |
| Method Summary | |
|---|---|
|  OtpErlangPid | pid()Get the pid that sent this exit. | 
|  OtpErlangObject | reason()Get the reason associated with this exit signal. | 
| 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 OtpErlangExit(OtpErlangObject reason)
reason - the reason this exit signal has been sent.public OtpErlangExit(java.lang.String reason)
 Equivalent to OtpErlangExit(new
 OtpErlangAtom(reason).
 
reason - the reason this exit signal has been sent.OtpErlangExit(OtpErlangObject)
public OtpErlangExit(OtpErlangObject reason,
                     OtpErlangPid pid)
reason - the reason this exit signal has been sent.pid - the pid that sent this exit.
public OtpErlangExit(java.lang.String reason,
                     OtpErlangPid pid)
 Equivalent to OtpErlangExit(new OtpErlangAtom(reason),
 pid).
 
reason - the reason this exit signal has been sent.pid - the pid that sent this exit.OtpErlangExit(OtpErlangObject, OtpErlangPid)| Method Detail | 
|---|
public OtpErlangObject reason()
public OtpErlangPid pid()
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||