Class WriteToClosedSessionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.mina.core.write.WriteException
org.apache.mina.core.write.WriteToClosedSessionException
- All Implemented Interfaces:
Serializable
An exception which is thrown when one or more write operations were
attempted on a closed session.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWriteToClosedSessionException(Collection<WriteRequest> requests) Create a new WriteToClosedSessionException instanceWriteToClosedSessionException(Collection<WriteRequest> requests, String message) Create a new WriteToClosedSessionException instanceWriteToClosedSessionException(Collection<WriteRequest> requests, String message, Throwable cause) Create a new WriteToClosedSessionException instanceWriteToClosedSessionException(Collection<WriteRequest> requests, Throwable cause) Create a new WriteToClosedSessionException instanceCreate a new WriteToClosedSessionException instanceWriteToClosedSessionException(WriteRequest request, String message) Create a new WriteToClosedSessionException instanceWriteToClosedSessionException(WriteRequest request, String message, Throwable cause) Create a new WriteToClosedSessionException instanceWriteToClosedSessionException(WriteRequest request, Throwable cause) Create a new WriteToClosedSessionException instance -
Method Summary
Methods inherited from class WriteException
getRequest, getRequestsMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
WriteToClosedSessionException
public WriteToClosedSessionException(Collection<WriteRequest> requests, String message, Throwable cause) Create a new WriteToClosedSessionException instance- Parameters:
requests- TheWriteRequests which have been written on a closed sessionmessage- The error messagecause- The original exception
-
WriteToClosedSessionException
Create a new WriteToClosedSessionException instance- Parameters:
requests- TheWriteRequests which have been written on a closed sessionmessage- The error message
-
WriteToClosedSessionException
Create a new WriteToClosedSessionException instance- Parameters:
requests- TheWriteRequests which have been written on a closed sessioncause- The original exception
-
WriteToClosedSessionException
Create a new WriteToClosedSessionException instance- Parameters:
requests- TheWriteRequests which have been written on a closed session
-
WriteToClosedSessionException
Create a new WriteToClosedSessionException instance- Parameters:
request- TheWriteRequestwhich has been written on a closed sessionmessage- The error messagecause- The original exception
-
WriteToClosedSessionException
Create a new WriteToClosedSessionException instance- Parameters:
request- TheWriteRequestwhich has been written on a closed sessionmessage- The error message
-
WriteToClosedSessionException
Create a new WriteToClosedSessionException instance- Parameters:
request- TheWriteRequestwhich has been written on a closed sessioncause- The original exception
-
WriteToClosedSessionException
Create a new WriteToClosedSessionException instance- Parameters:
request- TheWriteRequestwhich has been written on a closed session
-