//# 0 errors, 16 messages
//#
/*
    //#HandlerException.java:1:1: class: org.apache.roller.weblogger.webservices.adminprotocol.HandlerException
    //#HandlerException.java:1:1: method: org.apache.roller.weblogger.webservices.adminprotocol.HandlerException.org.apache.roller.weblogger.webservices.adminprotocol.HandlerException__static_init
* Licensed to the Apache Software Foundation (ASF) under one or more
*  contributor license agreements.  The ASF licenses this file to You
* under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*     http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.  For additional information regarding
* copyright in this work, please see the NOTICE file in the top level
* directory of this distribution.
*/
package org.apache.roller.weblogger.webservices.adminprotocol;

/**
 * Abstract base class for all handler exceptions.
 *
 * Subclasses of this class allow handler implementations to indicate to
 * callers a particular HTTP error type, while still providing
 * a textual description of the problem.
 * 
 * Callers may use the 
 * <code>getStatus()</code> method to discover the HTTP status
 * code that should be returned to the client.
 */
public abstract class HandlerException extends Exception { 
    public HandlerException(String msg) {
        super(msg);
    //#HandlerException.java:33: method: void org.apache.roller.weblogger.webservices.adminprotocol.HandlerException.org.apache.roller.weblogger.webservices.adminprotocol.HandlerException(String)
    //#input(void org.apache.roller.weblogger.webservices.adminprotocol.HandlerException(String)): msg
    //#input(void org.apache.roller.weblogger.webservices.adminprotocol.HandlerException(String)): this
    }    
    //#HandlerException.java:34: end of method: void org.apache.roller.weblogger.webservices.adminprotocol.HandlerException.org.apache.roller.weblogger.webservices.adminprotocol.HandlerException(String)

    public HandlerException(String msg, Throwable t) {
        super(msg);
    //#HandlerException.java:37: method: void org.apache.roller.weblogger.webservices.adminprotocol.HandlerException.org.apache.roller.weblogger.webservices.adminprotocol.HandlerException(String, Throwable)
    //#input(void org.apache.roller.weblogger.webservices.adminprotocol.HandlerException(String, Throwable)): msg
    //#input(void org.apache.roller.weblogger.webservices.adminprotocol.HandlerException(String, Throwable)): this
    }    
    //#HandlerException.java:38: end of method: void org.apache.roller.weblogger.webservices.adminprotocol.HandlerException.org.apache.roller.weblogger.webservices.adminprotocol.HandlerException(String, Throwable)
    
    public abstract int getStatus();
}
    //#output(org.apache.roller.weblogger.webservices.adminprotocol.HandlerException__static_init): __Descendant_Table[org/apache/roller/weblogger/webservices/adminprotocol/HandlerException]
    //#output(org.apache.roller.weblogger.webservices.adminprotocol.HandlerException__static_init): __Dispatch_Table.getStatus()I
    //#post(org.apache.roller.weblogger.webservices.adminprotocol.HandlerException__static_init): __Descendant_Table[org/apache/roller/weblogger/webservices/adminprotocol/HandlerException] == &__Dispatch_Table
    //#post(org.apache.roller.weblogger.webservices.adminprotocol.HandlerException__static_init): __Dispatch_Table.getStatus()I == &getStatus
    //#HandlerException.java:: end of method: org.apache.roller.weblogger.webservices.adminprotocol.HandlerException.org.apache.roller.weblogger.webservices.adminprotocol.HandlerException__static_init
    //#HandlerException.java:: end of class: org.apache.roller.weblogger.webservices.adminprotocol.HandlerException
