## Uses of Class
net.i2p.I2PException

- Packages that use I2PException
  Package | Description
  --- | ---
  net.i2p.BOB | BOB, the Basic Open Bridge, allows TCP applications to talk over I2P.
  net.i2p.client | Implements the base I2P SDK for developing applications that communicate through I2P.
  net.i2p.client.streaming | Implements a TCP-like (reliable, authenticated, in order) set of sockets for communicating over the IP-like (unreliable, unauthenticated, unordered) I2P messages.
  net.i2p.crypto | These classes provide a number of low-level cryptographic routines.
  net.i2p.data | These classes define the common data structures used by the various I2P protocols.
  net.i2p.data.i2cp | The Invisible Internet Client Protocol (I2CP) allows applications simplified access to the I2P network without requiring them to deal with the issues involved with the Invisible Internet Network Protocol (I2NP).
  net.i2p.data.i2np | The Invisible Internet Network Protocol (I2NP) is only a part of how an application can send messages over the network.
  net.i2p.i2ptunnel |
  net.i2p.sam |

- - ### Uses of I2PException in net.i2p.BOB

    Constructors in net.i2p.BOB that throw I2PException
    Constructor and Description
    `MUXlisten(AtomicBoolean lock, NamedDB database, NamedDB info, Log _log)` Constructor Will fail if INPORT is occupied.

  - ### Uses of I2PException in net.i2p.client

    Subclasses of I2PException in net.i2p.client
    Modifier and Type | Class and Description
    --- | ---
    `class` | `I2PSessionException` Thrown when there is a problem doing something on the session

    Methods in net.i2p.client that throw I2PException
    Modifier and Type | Method and Description
    --- | ---
    `Destination` | I2PSimpleClient.`createDestination(OutputStream destKeyStream)` Deprecated. Don't do this
    `Destination` | I2PClient.`createDestination(OutputStream destKeyStream)` Create a new destination with the default certificate creation properties and store it, along with the private encryption and signing keys at the specified location
    `Destination` | I2PClientImpl.`createDestination(OutputStream destKeyStream)` Create the destination with a null payload
    `Destination` | I2PSimpleClient.`createDestination(OutputStream destKeyStream, Certificate cert)` Deprecated. or this
    `Destination` | I2PClient.`createDestination(OutputStream destKeyStream, Certificate cert)` Create a new destination with the given certificate and store it, along with the private encryption and signing keys at the specified location
    `Destination` | I2PClientImpl.`createDestination(OutputStream destKeyStream, Certificate cert)` Create the destination with the given payload and write it out along with the PrivateKey and SigningPrivateKey to the destKeyStream

  - ### Uses of I2PException in net.i2p.client.streaming

    Subclasses of I2PException in net.i2p.client.streaming
    Modifier and Type | Class and Description
    --- | ---
    `class` | `TooManyStreamsException` We attempted to have more open streams than we are willing to put up with

    Methods in net.i2p.client.streaming that throw I2PException
    Modifier and Type | Method and Description
    --- | ---
    `I2PSocket` | I2PServerSocketFull.`accept()` Warning, unlike regular ServerSocket, may return null
    `I2PSocket` | I2PServerSocketImpl.`accept()` Deprecated. Waits for the next socket connecting.
    `I2PSocket` | I2PServerSocket.`accept()` Waits for the next socket connecting.
    `void` | I2PServerSocket.`close()` Closes the socket.
    `I2PSocket` | I2PSocketManagerFull.`connect(Destination peer)` Create a new connected socket.
    `I2PSocket` | I2PSocketManagerImpl.`connect(Destination peer)` Deprecated. Create a new connected socket (block until the socket is created)
    `I2PSocket` | I2PSocketManager.`connect(Destination peer)` Create a new connected socket (block until the socket is created)
    `I2PSocket` | I2PSocketManagerFull.`connect(Destination peer, I2PSocketOptions options)` Create a new connected socket.
    `I2PSocket` | I2PSocketManagerImpl.`connect(Destination peer, I2PSocketOptions options)` Deprecated. Create a new connected socket (block until the socket is created)
    `I2PSocket` | I2PSocketManager.`connect(Destination peer, I2PSocketOptions options)` Create a new connected socket (block until the socket is created)
    `(package private) void` | ConnectionPacketHandler.`receivePacket(Packet packet, Connection con)` distribute a packet to the connection specified
    `I2PSocket` | I2PSocketManagerFull.`receiveSocket()`

  - ### Uses of I2PException in net.i2p.crypto

    Subclasses of I2PException in net.i2p.crypto
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `DHSessionKeyBuilder.InvalidPublicParameterException`

  - ### Uses of I2PException in net.i2p.data

    Subclasses of I2PException in net.i2p.data
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DataFormatException` Thrown when the data was not available to read or write a DataStructure

    Methods in net.i2p.data that throw I2PException
    Modifier and Type | Method and Description
    --- | ---
    `Destination` | PrivateKeyFile.`createIfAbsent()` Also reads in the file to get the privKey and signingPrivKey, which aren't available from I2PClient.

  - ### Uses of I2PException in net.i2p.data.i2cp

    Subclasses of I2PException in net.i2p.data.i2cp
    Modifier and Type | Class and Description
    --- | ---
    `class` | `I2CPMessageException` Represent an error serializing or deserializing an APIMessage

  - ### Uses of I2PException in net.i2p.data.i2np

    Subclasses of I2PException in net.i2p.data.i2np
    Modifier and Type | Class and Description
    --- | ---
    `class` | `I2NPMessageException` Represent an error serializing or deserializing an APIMessage

  - ### Uses of I2PException in net.i2p.i2ptunnel

    Methods in net.i2p.i2ptunnel that throw I2PException
    Modifier and Type | Method and Description
    --- | ---
    `I2PSocket` | I2PTunnelClientBase.`createI2PSocket(Destination dest)` Create a new I2PSocket towards to the specified destination, adding it to the list of connections actually managed by this tunnel.
    `I2PSocket` | I2PTunnelClientBase.`createI2PSocket(Destination dest, I2PSocketOptions opt)` Create a new I2PSocket towards to the specified destination, adding it to the list of connections actually managed by this tunnel.
    `boolean` | I2Ping.`ping(Destination dest)`

  - ### Uses of I2PException in net.i2p.sam

    Methods in net.i2p.sam that throw I2PException
    Modifier and Type | Method and Description
    --- | ---
    `void` | SAMv3StreamSession.`accept(SAMv3Handler handler, boolean verbose)` Accept an incoming STREAM
    `boolean` | SAMStreamSession.`connect(int id, String dest, Properties props)` Connect the SAM STREAM session to the specified Destination
    `void` | SAMv3StreamSession.`connect(SAMv3Handler handler, String dest, Properties props)` Connect the SAM STREAM session to the specified Destination