throw
and
catch
구문에서 기본 제공
Exception
클래스를 상속받지 않은 사용자 정의 예외 클래스를 보고합니다.
자세한 내용은
Exceptions(php.net)
를 참조하세요.