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 write buffer is not flushed for
26: * {@link IoSessionConfig#getWriteTimeout()} seconds.
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 WriteTimeoutException extends WriteException {
32: private static final long serialVersionUID = 3906931157944579121L;
33:
34: public WriteTimeoutException(Collection<WriteRequest> requests,
35: String message, Throwable cause) {
36: super (requests, message, cause);
37: }
38:
39: public WriteTimeoutException(Collection<WriteRequest> requests,
40: String s) {
41: super (requests, s);
42: }
43:
44: public WriteTimeoutException(Collection<WriteRequest> requests,
45: Throwable cause) {
46: super (requests, cause);
47: }
48:
49: public WriteTimeoutException(Collection<WriteRequest> requests) {
50: super (requests);
51: }
52:
53: public WriteTimeoutException(WriteRequest request, String message,
54: Throwable cause) {
55: super (request, message, cause);
56: }
57:
58: public WriteTimeoutException(WriteRequest request, String s) {
59: super (request, s);
60: }
61:
62: public WriteTimeoutException(WriteRequest request, Throwable cause) {
63: super (request, cause);
64: }
65:
66: public WriteTimeoutException(WriteRequest request) {
67: super(request);
68: }
69: }
|