/
Java Exception 처리

Java Exception 처리

자바 예외 처리 관련 자료 모음

 

Not Yet Implemented 메소드/기능 호출시 throw 할 적당한 예외 클래스

아직 미구현한 기능을 호출했을 때 던질 적당한 예외 클래스

UnsupportedOperationException 를 던지라는 의견도 있지만 예외 클래스 이름이 용도에 적당하지 않으므로 다음 방법이 더욱 적당해 보인다.

  1.  apache commons-lang  패키지에 있는 NotImplementedException 예외 를 throw
  2. RuntimeException 을 상속받아서 NotImplementedException 구현
  3. UnsupportedOperationException 를 throw 할 때 메시지에 "Not implemented, yet". 추가

Related content

apache maven 버전별 필요 JDK
apache maven 버전별 필요 JDK
More like this
Java 의 SSLHandshakeException 문제 해결
Java 의 SSLHandshakeException 문제 해결
More like this
Object of class Illuminate\Database\Eloquent\Relations\HasMany could not be converted to string
Object of class Illuminate\Database\Eloquent\Relations\HasMany could not be converted to string
More like this
PHPUnit 에서 예외 테스트(Exception Test) 하기
PHPUnit 에서 예외 테스트(Exception Test) 하기
More like this
phpunit Fixtures
phpunit Fixtures
More like this
phpunit 단위 테스트 건너뛰기(skipping tests)
phpunit 단위 테스트 건너뛰기(skipping tests)
More like this