Class ExceptionMessageInfo
java.lang.Object
com.gsitm.ustra.java.mvc.rest.error.ExceptionMessageInfo
예외 메시지 정보
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceException에 따른 메시지 formatting 처리 객체 -
Constructor Summary
ConstructorsConstructorDescriptionExceptionMessageInfo(Class<? extends Throwable> clazz, ExceptionMessageInfo.MessageFormatter formatter) ExceptionMessageInfo 생성ExceptionMessageInfo(Class<? extends Throwable> clazz, String message) ExceptionMessageInfo 생성 -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetClazz()Exception 메시지를 조회한다.inthashCode()voidvoidvoidsetMessage(String message) toString()
-
Constructor Details
-
ExceptionMessageInfo
public ExceptionMessageInfo(Class<? extends Throwable> clazz, ExceptionMessageInfo.MessageFormatter formatter) ExceptionMessageInfo 생성- Parameters:
clazz- 대상 클래스formatter- formatter
-
ExceptionMessageInfo
ExceptionMessageInfo 생성- Parameters:
clazz- 대상 클래스message- 메시지
-
-
Method Details
-
getExceptionMessage
Exception 메시지를 조회한다.- Parameters:
e- exception- Returns:
- exception 메시지
-
getClazz
-
getMessage
-
getFormatter
-
setClazz
-
setMessage
-
setFormatter
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-