final public static function exceptionDriver (int $errorCode=NULL)
	{
		switch ($errorCode) {
			case self::EMPTY_VALUE:
				throw new ErrorHandler("Empty Value.", ErrorCode::EMPTY_VALUE);
				break;
			case self::INVALID:
				throw new ErrorHandler("Value Not Valid.", ErrorCode::INVALID);
				break;
			case self::EMPTY_METHOD:
				throw new ErrorHandler("Method not parsed in RouterEngine.", ErrorCode::EMPTY_METHOD);
				break;
			case self::EMPTY_ARGUMENT:
				throw new ErrorHandler("Argument not parsed to method in RouterEngine.", ErrorCode::EMPTY_ARGUMENT);
				break;
			case self::INVALID_DIR:
				throw new ErrorHandler("Specified directory is invalid.", ErrorCode::INVALID_DIR);
				break;
			default:
				throw new ErrorHandler('Error Not Defined.', ErrorCode::THROW_NONE);
				break;
		}
		return;
	}
final public static function exceptionDriver (int $errorCode=NULL)
	{
		switch ($errorCode) {
			case self::EMPTY_VALUE:
				throw new ErrorHandler("Empty Value.", ErrorCode::EMPTY_VALUE);
				break;
			case self::INVALID:
				throw new ErrorHandler("Value Not Valid.", ErrorCode::INVALID);
				break;
			case self::EMPTY_METHOD:
				throw new ErrorHandler("Method not parsed in RouterEngine.", ErrorCode::EMPTY_METHOD);
				break;
			case self::EMPTY_ARGUMENT:
				throw new ErrorHandler("Argument not parsed to method in RouterEngine.", ErrorCode::EMPTY_ARGUMENT);
				break;
			case self::INVALID_DIR:
				throw new ErrorHandler("Specified directory is invalid.", ErrorCode::INVALID_DIR);
				break;
			default:
				throw new ErrorHandler('Error Not Defined.', ErrorCode::THROW_NONE);
				break;
		}
		return;
	}
final public static function exceptionDriver ( int $ errorCode = NULL ) { switch ( $ errorCode ) { case self :: EMPTY_VALUE : throw new ErrorHandler ( "Empty Value." , ErrorCode :: EMPTY_VALUE ) ; break ; case self :: INVALID : throw new ErrorHandler ( "Value Not Valid." , ErrorCode :: INVALID ) ; break ; case self :: EMPTY_METHOD : throw new ErrorHandler ( "Method not parsed in RouterEngine." , ErrorCode :: EMPTY_METHOD ) ; break ; case self :: EMPTY_ARGUMENT : throw new ErrorHandler ( "Argument not parsed to method in RouterEngine." , ErrorCode :: EMPTY_ARGUMENT ) ; break ; case self :: INVALID_DIR : throw new ErrorHandler ( "Specified directory is invalid." , ErrorCode :: INVALID_DIR ) ; break ; default : throw new ErrorHandler ( 'Error Not Defined.' , ErrorCode :: THROW_NONE ) ; break ; } return ; }
Throws exception with error codes.
@param int $errorCode
@return
Throws exception with error codes .