1 /* 2 * Copyright the original author or authors. 3 * 4 * Licensed under the MOZILLA PUBLIC LICENSE, Version 1.1 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.mozilla.org/MPL/MPL-1.1.html 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 import org.as2lib.env.except.Exception; 18 19 /** 20 * {@code FileNotLoadedException} to be thrown if a certain resource is not 21 * loaded yet. 22 * 23 * @author Martin Heidegger 24 * @version 1.0 25 */ 26 class org.as2lib.io.file.FileNotLoadedException extends Exception { 27 28 /** 29 * Constructs a new {@code FileNotLoadedException}. 30 * 31 * <p>All arguments are allowed to be {@code null} or {@code undefined}. But if 32 * one is, the string representation returned by the {@code toString} method 33 * will not be complete. 34 * 35 * <p>The {@code args} array should be the internal arguments array of the 36 * method that throws the throwable. The internal arguments array exists in 37 * every method and contains its parameters, the callee method and the caller 38 * method. You can refernce it in every method using the name 39 * {@code "arguments"}. 40 * 41 * @param message the message that describes the problem in detail 42 * @param thrower the object that declares the method that throws this 43 * exception 44 * @param args the arguments of the throwing method 45 */ 46 public function FileNotLoadedException(message:String, thrower, args:Array) { 47 super(message, thrower, args); 48 } 49 }