removed unused var
exitExpression to Exception
added self::