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,org.refcodes.exception.ErrorCodeAccessor,org.refcodes.exception.Trap
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 org.refcodes.exception.AbstractRuntimeException
getErrorCodeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ProxyDisposedRuntimeException
Instantiates a new proxy disposed runtime exception.- Parameters:
aMessage- the messageaErrorCode- the error code
-
ProxyDisposedRuntimeException
Instantiates a new proxy disposed runtime exception.- Parameters:
aMessage- the messageaCause- the causeaErrorCode- the error code
-
ProxyDisposedRuntimeException
Instantiates a new proxy disposed runtime exception.- Parameters:
message- the messagecause- the cause
-
ProxyDisposedRuntimeException
Instantiates a new proxy disposed runtime exception.- Parameters:
message- the message
-
ProxyDisposedRuntimeException
Instantiates a new proxy disposed runtime exception.- Parameters:
aCause- the causeaErrorCode- the error code
-
ProxyDisposedRuntimeException
Instantiates a new proxy disposed runtime exception.- Parameters:
cause- the cause
-