topical media & game development

talk show tell print

actionscript-book-CustomErrors-com-example-programmingas3-errors-FatalError.ax

actionscript-book-CustomErrors-com-example-programmingas3-errors-FatalError.ax [swf] flex


  package  
  {
          public class @ax-actionscript-book-CustomErrors-com-example-programmingas3-errors-FatalError extends actionscript_book_CustomErrors_com_example_programmingas3_errors_ApplicationError 
          {
                  public function @ax-actionscript-book-CustomErrors-com-example-programmingas3-errors-FatalError(errorID:int) 
                  {
                          id = errorID;
                          severity = actionscript_book_CustomErrors_com_example_programmingas3_errors_ApplicationError.FATAL
                          message = getMessageText(errorID);
                  }
                  
                  public override function getTitle():String {
                          return "Error #" + id + " -- FATAL";
                  }
                  
                  public override function toString():String {
                          return "[FATAL 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.