Class AbstractLocatorException

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:
  • Constructor Details

    • 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.
    • AbstractLocatorException

      public AbstractLocatorException(Object aLocator, Throwable aCause, String aErrorCode)
      Parameters:
      aLocator - The involved peer locator.
  • Method Details

    • getLocator

      public Object getLocator()
      Specified by:
      getLocator in interface org.refcodes.mixin.LocatorAccessor<Object>