Package org.johnnei.javatorrent.network
Class BitTorrentSocketException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.johnnei.javatorrent.network.BitTorrentSocketException
-
- All Implemented Interfaces:
Serializable
public class BitTorrentSocketException extends IOException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BitTorrentSocketException(String message)BitTorrentSocketException(String message, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddConnectionFailure(ISocket socketType, IOException cause)StringgetMessage()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
addConnectionFailure
public void addConnectionFailure(ISocket socketType, IOException cause)
-
getMessage
public String getMessage()
- Overrides:
getMessagein classThrowable
-
-