Creates an exception for the given command name.
public static forCommandName ( string $name, integer $code, Exception $cause = null ) : static | ||
$name | string | The command name. |
$code | integer | The exception code. |
$cause | Exception | The exception that caused this exception. |
리턴 | static | The created exception. |