Class com.sekati.except.Catcher

Description

Generic Exception catch handler.

 Usage:
 	function test(isOk:Boolean):Void {
 		try {
 			throw new Exception(this,"An unknown Error has occurred",arguments);
 		} catch (e:Exception) {
 			Catcher.handle(e);
 		}
 	}
 

Method Index

handle(), toString()

Method Detail

handle

static public function handle(e:Exception):String

A generic Exception handler that returns string data about the Exception for logging or tracing.

Parameters

e(Exception)

Return

String

toString

static public function toString():String

Simple reflection for Static classes.