org.jasen.io
Class NonBlockingIOException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.jasen.io.NonBlockingIOException
- All Implemented Interfaces:
- Serializable
- public class NonBlockingIOException
- extends IOException
Extended IOException to indicate timeout errors.
- Author:
- Jason Polites
- See Also:
- Serialized Form
Method Summary |
int |
getCode()
Gets the code that caused the exception |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
TIMEOUT
public static final int TIMEOUT
- See Also:
- Constant Field Values
INVALID_BUFFER
public static final int INVALID_BUFFER
- See Also:
- Constant Field Values
NonBlockingIOException
public NonBlockingIOException()
NonBlockingIOException
public NonBlockingIOException(String s)
- Parameters:
s
-
NonBlockingIOException
public NonBlockingIOException(int code)
NonBlockingIOException
public NonBlockingIOException(String s,
int code)
- Parameters:
s
-
getCode
public int getCode()
- Gets the code that caused the exception
- Returns:
- The exception code