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

public class OtpErlangExit
extends OtpErlangException

Exception raised when a communication channel is broken. This can be caused for a number of reasons, for example:

See Also:
OtpConnection, Serialized Form

Constructor Summary
OtpErlangExit(java.lang.String reason)
          Create an OtpErlangExit exception with the given reason.
 
Method Summary
 java.lang.String reason()
          Get the reason associated with this exit signal.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OtpErlangExit

public OtpErlangExit(java.lang.String reason)
Create an OtpErlangExit exception with the given reason.
Parameters:
reason - the reason this exit signal has been sent.
Method Detail

reason

public java.lang.String reason()
Get the reason associated with this exit signal.