//# 0 errors, 69 messages
//#
/*
    //#MediacastException.java:1:1: class: org.apache.roller.weblogger.util.MediacastException
    //#MediacastException.java:1:1: method: org.apache.roller.weblogger.util.MediacastException.org.apache.roller.weblogger.util.MediacastException__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.util;

import org.apache.roller.weblogger.WebloggerException;


/**
 * An exception thrown when dealing with Mediacast files.
 */
public class MediacastException extends WebloggerException {
    
    private int errorCode = 0;
    private String errorKey = null;
    
    
    public MediacastException(int code, String msgKey) {
    //#MediacastException.java:33: method: void org.apache.roller.weblogger.util.MediacastException.org.apache.roller.weblogger.util.MediacastException(int, String)
    //#MediacastException.java:33: Warning: method not available
    //#    -- call on void org.apache.roller.weblogger.WebloggerException()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.util.MediacastException
    //#    method: void org.apache.roller.weblogger.util.MediacastException(int, String)
    //#    unanalyzed callee: void org.apache.roller.weblogger.WebloggerException()
    //#input(void org.apache.roller.weblogger.util.MediacastException(int, String)): code
    //#input(void org.apache.roller.weblogger.util.MediacastException(int, String)): msgKey
    //#input(void org.apache.roller.weblogger.util.MediacastException(int, String)): this
    //#output(void org.apache.roller.weblogger.util.MediacastException(int, String)): this.errorCode
    //#output(void org.apache.roller.weblogger.util.MediacastException(int, String)): this.errorKey
    //#post(void org.apache.roller.weblogger.util.MediacastException(int, String)): this.errorCode == code
    //#post(void org.apache.roller.weblogger.util.MediacastException(int, String)): init'ed(this.errorCode)
    //#post(void org.apache.roller.weblogger.util.MediacastException(int, String)): this.errorKey == msgKey
    //#post(void org.apache.roller.weblogger.util.MediacastException(int, String)): init'ed(this.errorKey)
        this.errorCode = code;
        this.errorKey = msgKey;
    }
    //#MediacastException.java:36: end of method: void org.apache.roller.weblogger.util.MediacastException.org.apache.roller.weblogger.util.MediacastException(int, String)
    
    
    public MediacastException(int code, String msgKey, Throwable t) {
        super(t);
    //#MediacastException.java:40: method: void org.apache.roller.weblogger.util.MediacastException.org.apache.roller.weblogger.util.MediacastException(int, String, Throwable)
    //#MediacastException.java:40: Warning: method not available
    //#    -- call on void org.apache.roller.weblogger.WebloggerException(Throwable)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.util.MediacastException
    //#    method: void org.apache.roller.weblogger.util.MediacastException(int, String, Throwable)
    //#    unanalyzed callee: void org.apache.roller.weblogger.WebloggerException(Throwable)
    //#input(void org.apache.roller.weblogger.util.MediacastException(int, String, Throwable)): code
    //#input(void org.apache.roller.weblogger.util.MediacastException(int, String, Throwable)): msgKey
    //#input(void org.apache.roller.weblogger.util.MediacastException(int, String, Throwable)): t
    //#input(void org.apache.roller.weblogger.util.MediacastException(int, String, Throwable)): this
    //#output(void org.apache.roller.weblogger.util.MediacastException(int, String, Throwable)): this.errorCode
    //#output(void org.apache.roller.weblogger.util.MediacastException(int, String, Throwable)): this.errorKey
    //#post(void org.apache.roller.weblogger.util.MediacastException(int, String, Throwable)): this.errorCode == code
    //#post(void org.apache.roller.weblogger.util.MediacastException(int, String, Throwable)): init'ed(this.errorCode)
    //#post(void org.apache.roller.weblogger.util.MediacastException(int, String, Throwable)): this.errorKey == msgKey
    //#post(void org.apache.roller.weblogger.util.MediacastException(int, String, Throwable)): init'ed(this.errorKey)
        this.errorCode = code;
        this.errorKey = msgKey;
    }
    //#MediacastException.java:43: end of method: void org.apache.roller.weblogger.util.MediacastException.org.apache.roller.weblogger.util.MediacastException(int, String, Throwable)
    
    
    public int getErrorCode() {
        return errorCode;
    //#MediacastException.java:47: method: int org.apache.roller.weblogger.util.MediacastException.getErrorCode()
    //#input(int getErrorCode()): this
    //#input(int getErrorCode()): this.errorCode
    //#output(int getErrorCode()): return_value
    //#pre[2] (int getErrorCode()): init'ed(this.errorCode)
    //#post(int getErrorCode()): return_value == this.errorCode
    //#post(int getErrorCode()): init'ed(return_value)
    //#MediacastException.java:47: end of method: int org.apache.roller.weblogger.util.MediacastException.getErrorCode()
    }

    public String getErrorKey() {
        return errorKey;
    //#MediacastException.java:51: method: String org.apache.roller.weblogger.util.MediacastException.getErrorKey()
    //#input(String getErrorKey()): this
    //#input(String getErrorKey()): this.errorKey
    //#output(String getErrorKey()): return_value
    //#pre[2] (String getErrorKey()): init'ed(this.errorKey)
    //#post(String getErrorKey()): return_value == this.errorKey
    //#post(String getErrorKey()): init'ed(return_value)
    //#MediacastException.java:51: end of method: String org.apache.roller.weblogger.util.MediacastException.getErrorKey()
    }
    
    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    //#MediacastException.java:55: method: void org.apache.roller.weblogger.util.MediacastException.setErrorCode(int)
    //#input(void setErrorCode(int)): errorCode
    //#input(void setErrorCode(int)): this
    //#output(void setErrorCode(int)): this.errorCode
    //#post(void setErrorCode(int)): this.errorCode == errorCode
    //#post(void setErrorCode(int)): init'ed(this.errorCode)
    }
    //#MediacastException.java:56: end of method: void org.apache.roller.weblogger.util.MediacastException.setErrorCode(int)

    public void setErrorKey(String errorKey) {
        this.errorKey = errorKey;
    //#MediacastException.java:59: method: void org.apache.roller.weblogger.util.MediacastException.setErrorKey(String)
    //#input(void setErrorKey(String)): errorKey
    //#input(void setErrorKey(String)): this
    //#output(void setErrorKey(String)): this.errorKey
    //#post(void setErrorKey(String)): this.errorKey == errorKey
    //#post(void setErrorKey(String)): init'ed(this.errorKey)
    }
    //#MediacastException.java:60: end of method: void org.apache.roller.weblogger.util.MediacastException.setErrorKey(String)
    
}
    //#output(org.apache.roller.weblogger.util.MediacastException__static_init): __Descendant_Table[org/apache/roller/weblogger/util/MediacastException]
    //#output(org.apache.roller.weblogger.util.MediacastException__static_init): __Dispatch_Table.getErrorCode()I
    //#output(org.apache.roller.weblogger.util.MediacastException__static_init): __Dispatch_Table.getErrorKey()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.util.MediacastException__static_init): __Dispatch_Table.setErrorCode(I)V
    //#output(org.apache.roller.weblogger.util.MediacastException__static_init): __Dispatch_Table.setErrorKey(Ljava/lang/String;)V
    //#post(org.apache.roller.weblogger.util.MediacastException__static_init): __Descendant_Table[org/apache/roller/weblogger/util/MediacastException] == &__Dispatch_Table
    //#post(org.apache.roller.weblogger.util.MediacastException__static_init): __Dispatch_Table.getErrorCode()I == &getErrorCode
    //#post(org.apache.roller.weblogger.util.MediacastException__static_init): __Dispatch_Table.getErrorKey()Ljava/lang/String; == &getErrorKey
    //#post(org.apache.roller.weblogger.util.MediacastException__static_init): __Dispatch_Table.setErrorCode(I)V == &setErrorCode
    //#post(org.apache.roller.weblogger.util.MediacastException__static_init): __Dispatch_Table.setErrorKey(Ljava/lang/String;)V == &setErrorKey
    //#MediacastException.java:: end of method: org.apache.roller.weblogger.util.MediacastException.org.apache.roller.weblogger.util.MediacastException__static_init
    //#MediacastException.java:: end of class: org.apache.roller.weblogger.util.MediacastException
