Package org.apache.mina.core
Class RuntimeIoException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.mina.core.RuntimeIoException
-
- All Implemented Interfaces:
Serializable
public class RuntimeIoException extends RuntimeException
A unchecked version ofIOException
.Please note that
RuntimeIoException
is different fromIOException
in that doesn't trigger force session close, whileIOException
forces disconnection.- Author:
- Apache MINA Project
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RuntimeIoException()
Create a new RuntimeIoException instanceRuntimeIoException(String message)
Create a new RuntimeIoException instanceRuntimeIoException(String message, Throwable cause)
Create a new RuntimeIoException instanceRuntimeIoException(Throwable cause)
Create a new RuntimeIoException instance
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
RuntimeIoException
public RuntimeIoException()
Create a new RuntimeIoException instance
-
RuntimeIoException
public RuntimeIoException(String message)
Create a new RuntimeIoException instance- Parameters:
message
- The error message
-
RuntimeIoException
public RuntimeIoException(String message, Throwable cause)
Create a new RuntimeIoException instance- Parameters:
message
- The error messagecause
- The original exception
-
RuntimeIoException
public RuntimeIoException(Throwable cause)
Create a new RuntimeIoException instance- Parameters:
cause
- The original exception
-
-