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
ConstructorDescriptionAbstractLocatorException
(Object aLocator, String message) AbstractLocatorException
(Object aLocator, String aMessage, String aErrorCode) AbstractLocatorException
(Object aLocator, String message, Throwable cause) AbstractLocatorException
(Object aLocator, String aMessage, Throwable aCause, String aErrorCode) AbstractLocatorException
(Object aLocator, Throwable cause) AbstractLocatorException
(Object aLocator, Throwable aCause, String aErrorCode) -
Method Summary
Methods inherited from class org.refcodes.exception.AbstractException
getErrorCode
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
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(Object aLocator, String aMessage, 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>
-