Class TorrentException

  • All Implemented Interfaces:
    Serializable

    public class TorrentException
    extends RuntimeException
    An exception class which allows for checked exception which cannot be gracefully handled within the Torrent logic to be thrown.
    See Also:
    Serialized Form
    • Constructor Detail

      • TorrentException

        public TorrentException​(String message,
                                Throwable cause)
        Creates a new torrent exception.
        Parameters:
        message - The reason this is fatal to the torrent logic.
        cause - The causing exception.
      • TorrentException

        public TorrentException​(String message)
        Creates a new torrent exception.
        Parameters:
        message - The reason this is fatal to the torrent logic.