Package org.refcodes.remoting
Class ProxyDisposedRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.refcodes.exception.AbstractRuntimeException
-
- org.refcodes.remoting.RemotingRuntimeException
-
- org.refcodes.remoting.ProxyDisposedRuntimeException
-
- All Implemented Interfaces:
Serializable
public class ProxyDisposedRuntimeException extends RemotingRuntimeException
This is a predictable exception. It is thrown by any object implementing the GenericDisposeable interface. This exception can be avoided by first testing the value returned by the method isDisposed() of the interface GenericDisposeable.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.exception.ErrorCodeAccessor
org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B extends org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B>>, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeMutator, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeProperty
-
-
Constructor Summary
Constructors Constructor Description ProxyDisposedRuntimeException(String message)
Instantiates a new proxy disposed runtime exception.ProxyDisposedRuntimeException(String aMessage, String aErrorCode)
Instantiates a new proxy disposed runtime exception.ProxyDisposedRuntimeException(String message, Throwable cause)
Instantiates a new proxy disposed runtime exception.ProxyDisposedRuntimeException(String aMessage, Throwable aCause, String aErrorCode)
Instantiates a new proxy disposed runtime exception.ProxyDisposedRuntimeException(Throwable cause)
Instantiates a new proxy disposed runtime exception.ProxyDisposedRuntimeException(Throwable aCause, String aErrorCode)
Instantiates a new proxy disposed runtime exception.
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ProxyDisposedRuntimeException
public ProxyDisposedRuntimeException(String aMessage, String aErrorCode)
Instantiates a new proxy disposed runtime exception.- Parameters:
aMessage
- the messageaErrorCode
- the error code
-
ProxyDisposedRuntimeException
public ProxyDisposedRuntimeException(String aMessage, Throwable aCause, String aErrorCode)
Instantiates a new proxy disposed runtime exception.- Parameters:
aMessage
- the messageaCause
- the causeaErrorCode
- the error code
-
ProxyDisposedRuntimeException
public ProxyDisposedRuntimeException(String message, Throwable cause)
Instantiates a new proxy disposed runtime exception.- Parameters:
message
- the messagecause
- the cause
-
ProxyDisposedRuntimeException
public ProxyDisposedRuntimeException(String message)
Instantiates a new proxy disposed runtime exception.- Parameters:
message
- the message
-
ProxyDisposedRuntimeException
public ProxyDisposedRuntimeException(Throwable aCause, String aErrorCode)
Instantiates a new proxy disposed runtime exception.- Parameters:
aCause
- the causeaErrorCode
- the error code
-
ProxyDisposedRuntimeException
public ProxyDisposedRuntimeException(Throwable cause)
Instantiates a new proxy disposed runtime exception.- Parameters:
cause
- the cause
-
-