topical media & game development
actionscript-book-CustomErrors-com-example-programmingas3-errors-WarningError.ax
actionscript-book-CustomErrors-com-example-programmingas3-errors-WarningError.ax
[swf]
flex
package {
public class @ax-actionscript-book-CustomErrors-com-example-programmingas3-errors-WarningError extends actionscript_book_CustomErrors_com_example_programmingas3_errors_ApplicationError {
public function @ax-actionscript-book-CustomErrors-com-example-programmingas3-errors-WarningError(errorID:int)
{
id = errorID;
severity = actionscript_book_CustomErrors_com_example_programmingas3_errors_ApplicationError.WARNING
message = super.getMessageText(errorID);
}
public override function getTitle():String {
return "Error #" + id + " -- Warning"
}
public override function toString():String {
return "[WARNING ERROR #" + id + "] " + message;
}
}
}
(C) Æliens
27/08/2009
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.