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 requests resulted
26: * in no actual write operation.
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 NothingWrittenException extends WriteException {
32:
33: private static final long serialVersionUID = -6331979307737691005L;
34:
35: public NothingWrittenException(Collection<WriteRequest> requests,
36: String message, Throwable cause) {
37: super (requests, message, cause);
38: }
39:
40: public NothingWrittenException(Collection<WriteRequest> requests,
41: String s) {
42: super (requests, s);
43: }
44:
45: public NothingWrittenException(Collection<WriteRequest> requests,
46: Throwable cause) {
47: super (requests, cause);
48: }
49:
50: public NothingWrittenException(Collection<WriteRequest> requests) {
51: super (requests);
52: }
53:
54: public NothingWrittenException(WriteRequest request,
55: String message, Throwable cause) {
56: super (request, message, cause);
57: }
58:
59: public NothingWrittenException(WriteRequest request, String s) {
60: super (request, s);
61: }
62:
63: public NothingWrittenException(WriteRequest request, Throwable cause) {
64: super (request, cause);
65: }
66:
67: public NothingWrittenException(WriteRequest request) {
68: super(request);
69: }
70: }
|