Package org.apache.mina.core.buffer
Class BufferDataException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.mina.core.buffer.BufferDataException
-
- All Implemented Interfaces:
Serializable
public class BufferDataException extends RuntimeException
ARuntimeException
which is thrown when the data theIoBuffer
contains is corrupt.- Author:
- Apache MINA Project
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BufferDataException()
Create a new BufferDataException instanceBufferDataException(String message)
Create a new BufferDataException instanceBufferDataException(String message, Throwable cause)
Create a new BufferDataException instanceBufferDataException(Throwable cause)
Create a new BufferDataException 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
-
BufferDataException
public BufferDataException()
Create a new BufferDataException instance
-
BufferDataException
public BufferDataException(String message)
Create a new BufferDataException instance- Parameters:
message
- The exception message
-
BufferDataException
public BufferDataException(String message, Throwable cause)
Create a new BufferDataException instance- Parameters:
message
- The exception messagecause
- The original cause
-
BufferDataException
public BufferDataException(Throwable cause)
Create a new BufferDataException instance- Parameters:
cause
- The original cause
-
-