- 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:
- 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
-
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
Constructors Constructor Description AbstractLocatorException(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getLocator()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
AbstractLocatorException
public AbstractLocatorException(Object aLocator, String message, Throwable cause)
- Parameters:
aLocator
- The involved peer locator.
-
AbstractLocatorException
public AbstractLocatorException(Object aLocator, String message)
- Parameters:
aLocator
- The involved peer locator.
-
AbstractLocatorException
public AbstractLocatorException(Object aLocator, Throwable cause)
- Parameters:
aLocator
- The involved peer locator.
-
AbstractLocatorException
public AbstractLocatorException(Object aLocator, String aMessage, Throwable aCause, String aErrorCode)
- Parameters:
aLocator
- The involved peer locator.
-
AbstractLocatorException
public AbstractLocatorException(Object aLocator, String aMessage, String aErrorCode)
- Parameters:
aLocator
- The involved peer locator.
-
-