001/*
002 *  Licensed to the Apache Software Foundation (ASF) under one
003 *  or more contributor license agreements.  See the NOTICE file
004 *  distributed with this work for additional information
005 *  regarding copyright ownership.  The ASF licenses this file
006 *  to you under the Apache License, Version 2.0 (the
007 *  "License"); you may not use this file except in compliance
008 *  with the License.  You may obtain a copy of the License at
009 *
010 *    http://www.apache.org/licenses/LICENSE-2.0
011 *
012 *  Unless required by applicable law or agreed to in writing,
013 *  software distributed under the License is distributed on an
014 *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
015 *  KIND, either express or implied.  See the License for the
016 *  specific language governing permissions and limitations
017 *  under the License.
018 *
019 */
020package org.apache.mina.core.write;
021
022import java.util.Collection;
023
024/**
025 * An exception which is thrown when one or more write operations were
026 * attempted on a closed session.
027 * 
028 * @author <a href="http://mina.apache.org">Apache MINA Project</a>
029 */
030public class WriteToClosedSessionException extends WriteException {
031
032    private static final long serialVersionUID = 5550204573739301393L;
033
034    public WriteToClosedSessionException(Collection<WriteRequest> requests, String message, Throwable cause) {
035        super(requests, message, cause);
036    }
037
038    public WriteToClosedSessionException(Collection<WriteRequest> requests, String s) {
039        super(requests, s);
040    }
041
042    public WriteToClosedSessionException(Collection<WriteRequest> requests, Throwable cause) {
043        super(requests, cause);
044    }
045
046    public WriteToClosedSessionException(Collection<WriteRequest> requests) {
047        super(requests);
048    }
049
050    public WriteToClosedSessionException(WriteRequest request, String message, Throwable cause) {
051        super(request, message, cause);
052    }
053
054    public WriteToClosedSessionException(WriteRequest request, String s) {
055        super(request, s);
056    }
057
058    public WriteToClosedSessionException(WriteRequest request, Throwable cause) {
059        super(request, cause);
060    }
061
062    public WriteToClosedSessionException(WriteRequest request) {
063        super(request);
064    }
065}