java.lang.Object
java.lang.Throwable
java.lang.Exception
org.refcodes.exception.AbstractException
org.refcodes.p2p.P2PException
org.refcodes.p2p.AbstractLocatorException
- All Implemented Interfaces:
Serializable
,org.refcodes.exception.ErrorCodeAccessor
,org.refcodes.exception.Trap
,org.refcodes.mixin.LocatorAccessor<Object>
- Direct Known Subclasses:
NoSuchDestinationException
public abstract class AbstractLocatorException
extends P2PException
implements org.refcodes.mixin.LocatorAccessor<Object>
Base exception for peer ID related exceptions.
- See Also:
-
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
Nested classes/interfaces inherited from interface org.refcodes.mixin.LocatorAccessor
org.refcodes.mixin.LocatorAccessor.LocatorBuilder<T extends Object,
B extends org.refcodes.mixin.LocatorAccessor.LocatorBuilder<T, B>>, org.refcodes.mixin.LocatorAccessor.LocatorMutator<T extends Object>, org.refcodes.mixin.LocatorAccessor.LocatorProperty<T extends Object> -
Constructor Summary
ConstructorsConstructorDescriptionAbstractLocatorException
(Object aLocator, Throwable aCause) AbstractLocatorException
(Object aLocator, Throwable aCause, String aErrorCode) AbstractLocatorException
(String aMessage, Object aLocator) AbstractLocatorException
(String aMessage, Object aLocator, String aErrorCode) AbstractLocatorException
(String aMessage, Object aLocator, Throwable aCause) AbstractLocatorException
(String aMessage, Object aLocator, Throwable aCause, String aErrorCode) -
Method Summary
Methods inherited from class org.refcodes.exception.AbstractException
getErrorCode, getMessage
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.refcodes.exception.Trap
toLocalizedMessage, toMessage, toMessage, toMessage, toShortLocalizedMessage, toShortMessage
-
Constructor Details
-
AbstractLocatorException
- Parameters:
aLocator
- The involved peer locator.
-
AbstractLocatorException
- Parameters:
aLocator
- The involved peer locator.
-
AbstractLocatorException
- Parameters:
aLocator
- The involved peer locator.
-
AbstractLocatorException
public AbstractLocatorException(String aMessage, Object aLocator, Throwable aCause, String aErrorCode) - Parameters:
aLocator
- The involved peer locator.
-
AbstractLocatorException
- Parameters:
aLocator
- The involved peer locator.
-
AbstractLocatorException
- Parameters:
aLocator
- The involved peer locator.
-
-
Method Details
-
getLocator
- Specified by:
getLocator
in interfaceorg.refcodes.mixin.LocatorAccessor<Object>
-
getPatternArguments
- Specified by:
getPatternArguments
in interfaceorg.refcodes.exception.Trap
-