Class com.sekati.except.Exception

Description

Core Throwable Exception error to be subclassed for error specificity and logging.

 Usage:
 	function test():Void {
 		try {
 			throw new Exception(this, "Test exception ErrorCode message", arguments);
 		} catch (e:Exception) {
 			Catcher.handle(e);
 		}
 	}
 	test("hello world!", false, 13);
 

See Also

Method Index

new Exception()

Inherited from Throwable

Constructor Detail

Exception

public function Exception(thrower:Object, message:String, stack:Array)

Exception Constructor

Parameters

thrower(Object) origin of the error
message(String) error message to display
stack(Array) thrower arguments stack

Return

Void