//# 0 errors, 34 messages
//#
/*
    //#AtomNotAuthorizedException.java:1:1: class: org.apache.roller.weblogger.webservices.atomprotocol.AtomNotAuthorizedException
    //#AtomNotAuthorizedException.java:1:1: method: org.apache.roller.weblogger.webservices.atomprotocol.AtomNotAuthorizedException.org.apache.roller.weblogger.webservices.atomprotocol.AtomNotAuthorizedException__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.atomprotocol;

import javax.servlet.http.HttpServletResponse;

/**
 * Exception thrown by AtomHandler in case of 403.
 */
public class AtomNotAuthorizedException extends AtomException {
    public AtomNotAuthorizedException() {
        super();
    //#AtomNotAuthorizedException.java:27: method: void org.apache.roller.weblogger.webservices.atomprotocol.AtomNotAuthorizedException.org.apache.roller.weblogger.webservices.atomprotocol.AtomNotAuthorizedException()
    //#input(void org.apache.roller.weblogger.webservices.atomprotocol.AtomNotAuthorizedException()): this
    //#unanalyzed(void org.apache.roller.weblogger.webservices.atomprotocol.AtomNotAuthorizedException()): Effects-of-calling:java.lang.Exception
    }
    //#AtomNotAuthorizedException.java:28: end of method: void org.apache.roller.weblogger.webservices.atomprotocol.AtomNotAuthorizedException.org.apache.roller.weblogger.webservices.atomprotocol.AtomNotAuthorizedException()
    public AtomNotAuthorizedException(String msg) {
        super(msg);
    //#AtomNotAuthorizedException.java:30: method: void org.apache.roller.weblogger.webservices.atomprotocol.AtomNotAuthorizedException.org.apache.roller.weblogger.webservices.atomprotocol.AtomNotAuthorizedException(String)
    //#input(void org.apache.roller.weblogger.webservices.atomprotocol.AtomNotAuthorizedException(String)): msg
    //#input(void org.apache.roller.weblogger.webservices.atomprotocol.AtomNotAuthorizedException(String)): this
    //#unanalyzed(void org.apache.roller.weblogger.webservices.atomprotocol.AtomNotAuthorizedException(String)): Effects-of-calling:java.lang.Exception
    }
    //#AtomNotAuthorizedException.java:31: end of method: void org.apache.roller.weblogger.webservices.atomprotocol.AtomNotAuthorizedException.org.apache.roller.weblogger.webservices.atomprotocol.AtomNotAuthorizedException(String)
    public AtomNotAuthorizedException(String msg, Throwable t) {
        super(msg, t);
    //#AtomNotAuthorizedException.java:33: method: void org.apache.roller.weblogger.webservices.atomprotocol.AtomNotAuthorizedException.org.apache.roller.weblogger.webservices.atomprotocol.AtomNotAuthorizedException(String, Throwable)
    //#input(void org.apache.roller.weblogger.webservices.atomprotocol.AtomNotAuthorizedException(String, Throwable)): msg
    //#input(void org.apache.roller.weblogger.webservices.atomprotocol.AtomNotAuthorizedException(String, Throwable)): t
    //#input(void org.apache.roller.weblogger.webservices.atomprotocol.AtomNotAuthorizedException(String, Throwable)): this
    //#unanalyzed(void org.apache.roller.weblogger.webservices.atomprotocol.AtomNotAuthorizedException(String, Throwable)): Effects-of-calling:java.lang.Exception
    }
    //#AtomNotAuthorizedException.java:34: end of method: void org.apache.roller.weblogger.webservices.atomprotocol.AtomNotAuthorizedException.org.apache.roller.weblogger.webservices.atomprotocol.AtomNotAuthorizedException(String, Throwable)
    public AtomNotAuthorizedException(Throwable t) {
        super(t);
    //#AtomNotAuthorizedException.java:36: method: void org.apache.roller.weblogger.webservices.atomprotocol.AtomNotAuthorizedException.org.apache.roller.weblogger.webservices.atomprotocol.AtomNotAuthorizedException(Throwable)
    //#input(void org.apache.roller.weblogger.webservices.atomprotocol.AtomNotAuthorizedException(Throwable)): t
    //#input(void org.apache.roller.weblogger.webservices.atomprotocol.AtomNotAuthorizedException(Throwable)): this
    //#unanalyzed(void org.apache.roller.weblogger.webservices.atomprotocol.AtomNotAuthorizedException(Throwable)): Effects-of-calling:java.lang.Exception
    }
    //#AtomNotAuthorizedException.java:37: end of method: void org.apache.roller.weblogger.webservices.atomprotocol.AtomNotAuthorizedException.org.apache.roller.weblogger.webservices.atomprotocol.AtomNotAuthorizedException(Throwable)
    public int getStatus() {
        return HttpServletResponse.SC_UNAUTHORIZED;
    //#AtomNotAuthorizedException.java:39: method: int org.apache.roller.weblogger.webservices.atomprotocol.AtomNotAuthorizedException.getStatus()
    //#output(int getStatus()): return_value
    //#post(int getStatus()): return_value == 401
    //#AtomNotAuthorizedException.java:39: end of method: int org.apache.roller.weblogger.webservices.atomprotocol.AtomNotAuthorizedException.getStatus()
    }
}
    //#output(org.apache.roller.weblogger.webservices.atomprotocol.AtomNotAuthorizedException__static_init): __Descendant_Table[org/apache/roller/weblogger/webservices/atomprotocol/AtomNotAuthorizedException]
    //#output(org.apache.roller.weblogger.webservices.atomprotocol.AtomNotAuthorizedException__static_init): __Dispatch_Table.getStatus()I
    //#output(org.apache.roller.weblogger.webservices.atomprotocol.AtomNotAuthorizedException__static_init): org/apache/roller/weblogger/webservices/atomprotocol/AtomException.__Descendant_Table[org/apache/roller/weblogger/webservices/atomprotocol/AtomNotAuthorizedException]
    //#post(org.apache.roller.weblogger.webservices.atomprotocol.AtomNotAuthorizedException__static_init): __Descendant_Table[org/apache/roller/weblogger/webservices/atomprotocol/AtomNotAuthorizedException] == &__Dispatch_Table
    //#post(org.apache.roller.weblogger.webservices.atomprotocol.AtomNotAuthorizedException__static_init): org/apache/roller/weblogger/webservices/atomprotocol/AtomException.__Descendant_Table[org/apache/roller/weblogger/webservices/atomprotocol/AtomNotAuthorizedException] == &__Dispatch_Table
    //#post(org.apache.roller.weblogger.webservices.atomprotocol.AtomNotAuthorizedException__static_init): __Dispatch_Table.getStatus()I == &getStatus
    //#AtomNotAuthorizedException.java:: end of method: org.apache.roller.weblogger.webservices.atomprotocol.AtomNotAuthorizedException.org.apache.roller.weblogger.webservices.atomprotocol.AtomNotAuthorizedException__static_init
    //#AtomNotAuthorizedException.java:: end of class: org.apache.roller.weblogger.webservices.atomprotocol.AtomNotAuthorizedException
