//# 0 errors, 25 messages
//#
/*
    //#BadRequestException.java:1:1: class: org.apache.roller.weblogger.webservices.adminprotocol.BadRequestException
    //#BadRequestException.java:1:1: method: org.apache.roller.weblogger.webservices.adminprotocol.BadRequestException.org.apache.roller.weblogger.webservices.adminprotocol.BadRequestException__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;

import javax.servlet.http.HttpServletResponse;

/**
 * Indicates to client that a bad (syntactically incorrect)
 * request has been made.
 */
public class BadRequestException extends HandlerException { 
    public BadRequestException(String msg) {
        super(msg);
    //#BadRequestException.java:28: method: void org.apache.roller.weblogger.webservices.adminprotocol.BadRequestException.org.apache.roller.weblogger.webservices.adminprotocol.BadRequestException(String)
    //#input(void org.apache.roller.weblogger.webservices.adminprotocol.BadRequestException(String)): msg
    //#input(void org.apache.roller.weblogger.webservices.adminprotocol.BadRequestException(String)): this
    //#unanalyzed(void org.apache.roller.weblogger.webservices.adminprotocol.BadRequestException(String)): Effects-of-calling:java.lang.Exception
    }    
    //#BadRequestException.java:29: end of method: void org.apache.roller.weblogger.webservices.adminprotocol.BadRequestException.org.apache.roller.weblogger.webservices.adminprotocol.BadRequestException(String)
    
    public BadRequestException(String msg, Throwable t) {
        super(msg, t);
    //#BadRequestException.java:32: method: void org.apache.roller.weblogger.webservices.adminprotocol.BadRequestException.org.apache.roller.weblogger.webservices.adminprotocol.BadRequestException(String, Throwable)
    //#input(void org.apache.roller.weblogger.webservices.adminprotocol.BadRequestException(String, Throwable)): msg
    //#input(void org.apache.roller.weblogger.webservices.adminprotocol.BadRequestException(String, Throwable)): t
    //#input(void org.apache.roller.weblogger.webservices.adminprotocol.BadRequestException(String, Throwable)): this
    //#unanalyzed(void org.apache.roller.weblogger.webservices.adminprotocol.BadRequestException(String, Throwable)): Effects-of-calling:java.lang.Exception
    }    
    //#BadRequestException.java:33: end of method: void org.apache.roller.weblogger.webservices.adminprotocol.BadRequestException.org.apache.roller.weblogger.webservices.adminprotocol.BadRequestException(String, Throwable)

    public int getStatus() {
        return HttpServletResponse.SC_BAD_REQUEST;
    //#BadRequestException.java:36: method: int org.apache.roller.weblogger.webservices.adminprotocol.BadRequestException.getStatus()
    //#output(int getStatus()): return_value
    //#post(int getStatus()): return_value == 400
    //#BadRequestException.java:36: end of method: int org.apache.roller.weblogger.webservices.adminprotocol.BadRequestException.getStatus()
    }
}
    //#output(org.apache.roller.weblogger.webservices.adminprotocol.BadRequestException__static_init): __Descendant_Table[org/apache/roller/weblogger/webservices/adminprotocol/BadRequestException]
    //#output(org.apache.roller.weblogger.webservices.adminprotocol.BadRequestException__static_init): __Dispatch_Table.getStatus()I
    //#output(org.apache.roller.weblogger.webservices.adminprotocol.BadRequestException__static_init): org/apache/roller/weblogger/webservices/adminprotocol/HandlerException.__Descendant_Table[org/apache/roller/weblogger/webservices/adminprotocol/BadRequestException]
    //#post(org.apache.roller.weblogger.webservices.adminprotocol.BadRequestException__static_init): __Descendant_Table[org/apache/roller/weblogger/webservices/adminprotocol/BadRequestException] == &__Dispatch_Table
    //#post(org.apache.roller.weblogger.webservices.adminprotocol.BadRequestException__static_init): org/apache/roller/weblogger/webservices/adminprotocol/HandlerException.__Descendant_Table[org/apache/roller/weblogger/webservices/adminprotocol/BadRequestException] == &__Dispatch_Table
    //#post(org.apache.roller.weblogger.webservices.adminprotocol.BadRequestException__static_init): __Dispatch_Table.getStatus()I == &getStatus
    //#BadRequestException.java:: end of method: org.apache.roller.weblogger.webservices.adminprotocol.BadRequestException.org.apache.roller.weblogger.webservices.adminprotocol.BadRequestException__static_init
    //#BadRequestException.java:: end of class: org.apache.roller.weblogger.webservices.adminprotocol.BadRequestException
