TOTorrentExceptionpublic class TOTorrentException extends Exception
Fields Summary |
---|
public static final int | RT_FILE_NOT_FOUND | public static final int | RT_ZERO_LENGTH | public static final int | RT_TOO_BIG | public static final int | RT_READ_FAILS | public static final int | RT_WRITE_FAILS | public static final int | RT_DECODE_FAILS | public static final int | RT_UNSUPPORTED_ENCODING | public static final int | RT_HASH_FAILS | public static final int | RT_CANCELLED | protected int | reason |
Constructors Summary |
---|
public TOTorrentException(String _str, int _reason)
super( _str );
reason = _reason;
| public TOTorrentException(String _str, int _reason, Throwable cause)
this(_str, _reason);
initCause(cause);
|
Methods Summary |
---|
public int | getReason()
return( reason );
|
|