| Package | com.ericfeminella.errors |
| Class | public class AbstractException |
| Inheritance | AbstractException Error |
| Subclasses | ContextMenuItemCollisionException, ContextMenuItemInvalidCaptionException, ContextMenuMaximumItemsExceededError, NullPointerException |
Below is an example of an AbstractException sub class
package
{
public class SimpleError extends AbstractException
{
public static const MESSAGE:String = "Error {0}";
public function SimpleError(detail:String){
super(SimpleError.MESSAGE, detail);
}
}
See also
| Method | Defined by | ||
|---|---|---|---|
|
AbstractException(message:String, ... args)
Constructs a new AbstractException instance and substitutes
an error message with the specified arguments
| AbstractException | ||
| AbstractException | () | constructor |
public function AbstractException(message:String, ... args)Constructs a new AbstractException instance and substitutes an error message with the specified arguments
Parametersmessage:String — message String associated with the error
|
|
... args — to replace tokens in error message
|