- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.refcodes.exception.AbstractException
-
- org.refcodes.remoting.RemotingException
-
- org.refcodes.remoting.AmbiguousProxyException
-
- All Implemented Interfaces:
Serializable
,org.refcodes.exception.ErrorCodeAccessor
,org.refcodes.exception.Trap
public class AmbiguousProxyException extends RemotingException
Thrown in case a proxy for a given type was requested but more than one proxies matched the requested type.- 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 AmbiguousProxyException(String message)
Instantiates a new ambiguous proxy exception.AmbiguousProxyException(String aMessage, String aErrorCode)
Instantiates a new ambiguous proxy exception.AmbiguousProxyException(String message, Throwable cause)
Instantiates a new ambiguous proxy exception.AmbiguousProxyException(String aMessage, Throwable aCause, String aErrorCode)
Instantiates a new ambiguous proxy exception.AmbiguousProxyException(Throwable cause)
Instantiates a new ambiguous proxy exception.AmbiguousProxyException(Throwable aCause, String aErrorCode)
Instantiates a new ambiguous proxy exception.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
AmbiguousProxyException
public AmbiguousProxyException(String aMessage, String aErrorCode)
Instantiates a new ambiguous proxy exception.- Parameters:
aMessage
- the messageaErrorCode
- the error code
-
AmbiguousProxyException
public AmbiguousProxyException(String aMessage, Throwable aCause, String aErrorCode)
Instantiates a new ambiguous proxy exception.- Parameters:
aMessage
- the messageaCause
- the causeaErrorCode
- the error code
-
AmbiguousProxyException
public AmbiguousProxyException(String message, Throwable cause)
Instantiates a new ambiguous proxy exception.- Parameters:
message
- the messagecause
- the cause
-
AmbiguousProxyException
public AmbiguousProxyException(String message)
Instantiates a new ambiguous proxy exception.- Parameters:
message
- the message
-
AmbiguousProxyException
public AmbiguousProxyException(Throwable aCause, String aErrorCode)
Instantiates a new ambiguous proxy exception.- Parameters:
aCause
- the causeaErrorCode
- the error code
-
AmbiguousProxyException
public AmbiguousProxyException(Throwable cause)
Instantiates a new ambiguous proxy exception.- Parameters:
cause
- the cause
-
-