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

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

      • getLocator

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