Package com.ericsson.otp.erlang
Class OtpErlangExit
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ericsson.otp.erlang.OtpException
com.ericsson.otp.erlang.OtpErlangException
com.ericsson.otp.erlang.OtpErlangExit
- All Implemented Interfaces:
Serializable
Exception raised when a communication channel is broken. This can be caused
for a number of reasons, for example:
- an error in communication has occurred
- a remote process has sent an exit signal
- a linked process has exited
- See Also:
-
Constructor Summary
ConstructorDescriptionOtpErlangExit
(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
(String reason) Equivalent toOtpErlangExit(new OtpErlangAtom(reason)
.OtpErlangExit
(String reason, OtpErlangPid pid) Equivalent toOtpErlangExit(new OtpErlangAtom(reason), pid)
. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
OtpErlangExit
Create an OtpErlangExit exception with the given reason.- Parameters:
reason
- the reason this exit signal has been sent.
-
OtpErlangExit
Equivalent to
OtpErlangExit(new OtpErlangAtom(reason)
.- Parameters:
reason
- the reason this exit signal has been sent.- See Also:
-
OtpErlangExit
Create an OtpErlangExit exception with the given reason and sender pid.- Parameters:
reason
- the reason this exit signal has been sent.pid
- the pid that sent this exit.
-
OtpErlangExit
Equivalent to
OtpErlangExit(new OtpErlangAtom(reason), pid)
.- Parameters:
reason
- the reason this exit signal has been sent.pid
- the pid that sent this exit.- See Also:
-
-
Method Details
-
reason
Get the reason associated with this exit signal. -
pid
Get the pid that sent this exit.
-