//# 0 errors, 19 messages
//#
/*
    //#NotAllowedException.java:1:1: class: org.apache.roller.weblogger.webservices.adminprotocol.NotAllowedException
    //#NotAllowedException.java:1:1: method: org.apache.roller.weblogger.webservices.adminprotocol.NotAllowedException.org.apache.roller.weblogger.webservices.adminprotocol.NotAllowedException__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 they are not allows to perform the requested
 * operation on the requested resource.
 */
public class NotAllowedException extends HandlerException { 
    public NotAllowedException(String msg) {
        super(msg);
    //#NotAllowedException.java:28: method: void org.apache.roller.weblogger.webservices.adminprotocol.NotAllowedException.org.apache.roller.weblogger.webservices.adminprotocol.NotAllowedException(String)
    //#input(void org.apache.roller.weblogger.webservices.adminprotocol.NotAllowedException(String)): msg
    //#input(void org.apache.roller.weblogger.webservices.adminprotocol.NotAllowedException(String)): this
    //#unanalyzed(void org.apache.roller.weblogger.webservices.adminprotocol.NotAllowedException(String)): Effects-of-calling:java.lang.Exception
    }    
    //#NotAllowedException.java:29: end of method: void org.apache.roller.weblogger.webservices.adminprotocol.NotAllowedException.org.apache.roller.weblogger.webservices.adminprotocol.NotAllowedException(String)
    
    public int getStatus() {
        return HttpServletResponse.SC_METHOD_NOT_ALLOWED;
    //#NotAllowedException.java:32: method: int org.apache.roller.weblogger.webservices.adminprotocol.NotAllowedException.getStatus()
    //#output(int getStatus()): return_value
    //#post(int getStatus()): return_value == 405
    //#NotAllowedException.java:32: end of method: int org.apache.roller.weblogger.webservices.adminprotocol.NotAllowedException.getStatus()
    }
}
    //#output(org.apache.roller.weblogger.webservices.adminprotocol.NotAllowedException__static_init): __Descendant_Table[org/apache/roller/weblogger/webservices/adminprotocol/NotAllowedException]
    //#output(org.apache.roller.weblogger.webservices.adminprotocol.NotAllowedException__static_init): __Dispatch_Table.getStatus()I
    //#output(org.apache.roller.weblogger.webservices.adminprotocol.NotAllowedException__static_init): org/apache/roller/weblogger/webservices/adminprotocol/HandlerException.__Descendant_Table[org/apache/roller/weblogger/webservices/adminprotocol/NotAllowedException]
    //#post(org.apache.roller.weblogger.webservices.adminprotocol.NotAllowedException__static_init): __Descendant_Table[org/apache/roller/weblogger/webservices/adminprotocol/NotAllowedException] == &__Dispatch_Table
    //#post(org.apache.roller.weblogger.webservices.adminprotocol.NotAllowedException__static_init): org/apache/roller/weblogger/webservices/adminprotocol/HandlerException.__Descendant_Table[org/apache/roller/weblogger/webservices/adminprotocol/NotAllowedException] == &__Dispatch_Table
    //#post(org.apache.roller.weblogger.webservices.adminprotocol.NotAllowedException__static_init): __Dispatch_Table.getStatus()I == &getStatus
    //#NotAllowedException.java:: end of method: org.apache.roller.weblogger.webservices.adminprotocol.NotAllowedException.org.apache.roller.weblogger.webservices.adminprotocol.NotAllowedException__static_init
    //#NotAllowedException.java:: end of class: org.apache.roller.weblogger.webservices.adminprotocol.NotAllowedException
