All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DataFormatException, I2CPMessageException, I2NPMessageException, I2PSessionException, RouterRestartException, TooManyStreamsException

public class I2PExceptionextends Exception
Base class of I2P exceptions

This was originally used to provide chained exceptions, but those were added to Exception in Java 1.4, so this class provides nothing extra at the moment.

See Also:
  • Constructor Details

    • I2PException

      public I2PException()
      Constructs an exception carrying no detail message.
    • I2PException

      public I2PException(String msg)
      Constructs an exception carrying the specified detail message.
      Parameters:
      msg - the detail message describing the failure
    • I2PException

      public I2PException(String msg, Throwable cause)
      Constructs an exception carrying the specified detail message and wrapping the underlying failure.
      Parameters:
      msg - the detail message describing the failure
      cause - the underlying failure that triggered this exception
    • I2PException

      public I2PException(Throwable cause)
      Constructs an exception that wraps the underlying failure, deriving the detail message from it.
      Parameters:
      cause - the underlying failure that triggered this exception