01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one
03: * or more contributor license agreements. See the NOTICE file
04: * distributed with this work for additional information
05: * regarding copyright ownership. The ASF licenses this file
06: * to you under the Apache License, Version 2.0 (the
07: * "License"); you may not use this file except in compliance
08: * with the License. You may obtain a copy of the License at
09: *
10: * http://www.apache.org/licenses/LICENSE-2.0
11: *
12: * Unless required by applicable law or agreed to in writing,
13: * software distributed under the License is distributed on an
14: * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15: * KIND, either express or implied. See the License for the
16: * specific language governing permissions and limitations
17: * under the License.
18: *
19: */
20: package org.apache.mina.common;
21:
22: import java.util.Collection;
23:
24: /**
25: * An exception which is thrown when one or more write operations were
26: * attempted on a closed session.
27: *
28: * @author The Apache MINA Project (dev@mina.apache.org)
29: * @version $Rev: 591310 $, $Date: 2007-11-02 05:57:00 -0600 (Fri, 02 Nov 2007) $,
30: */
31: public class WriteToClosedSessionException extends WriteException {
32:
33: private static final long serialVersionUID = 5550204573739301393L;
34:
35: public WriteToClosedSessionException(
36: Collection<WriteRequest> requests, String message,
37: Throwable cause) {
38: super (requests, message, cause);
39: }
40:
41: public WriteToClosedSessionException(
42: Collection<WriteRequest> requests, String s) {
43: super (requests, s);
44: }
45:
46: public WriteToClosedSessionException(
47: Collection<WriteRequest> requests, Throwable cause) {
48: super (requests, cause);
49: }
50:
51: public WriteToClosedSessionException(
52: Collection<WriteRequest> requests) {
53: super (requests);
54: }
55:
56: public WriteToClosedSessionException(WriteRequest request,
57: String message, Throwable cause) {
58: super (request, message, cause);
59: }
60:
61: public WriteToClosedSessionException(WriteRequest request, String s) {
62: super (request, s);
63: }
64:
65: public WriteToClosedSessionException(WriteRequest request,
66: Throwable cause) {
67: super (request, cause);
68: }
69:
70: public WriteToClosedSessionException(WriteRequest request) {
71: super(request);
72: }
73: }
|