User Guide
Example: CustomErrors application 283
Defining the WarningError class
The WarningError class extends the ApplicationError class and is nearly identical to the
FatalError class, except for a couple minor string changes and sets the error severity to
ApplicationError.WARNING instead of ApplicationError.FATAL, as seen in the following
code:
public function WarningError(errorID:int)
{
id = errorID;
severity = ApplicationError.WARNING;
message = super.getMessageText(errorID);
}