public class BaseException extends Exception
NOTE: Exception Handling 상의 BaseException 은 EgovBizException, RuntimeException, FdlException을 제외한 나머지 Exception 이 발생하는 경우 BaseException 을 바뀌도록 되어 있다.
<< 개정이력(Modification Information) >> 수정일 수정자 수정내용 ------- -------- --------------------------- 2009.05.30 Judd Cho 최초 생성 2015.01.31 Vincent Han 코드 품질 개선, Serialized Form
| Modifier and Type | Field and Description |
|---|---|
protected String |
message |
protected String |
messageKey |
protected Object[] |
messageParameters |
protected Exception |
wrappedException |
| Constructor and Description |
|---|
BaseException()
BaseException 기본 생성자.
|
BaseException(org.springframework.context.MessageSource messageSource,
String messageKey)
BaseException 생성자.
|
BaseException(org.springframework.context.MessageSource messageSource,
String messageKey,
Locale locale,
Throwable wrappedException)
BaseException 생성자.
|
BaseException(org.springframework.context.MessageSource messageSource,
String messageKey,
Object[] messageParameters,
Locale locale,
Throwable wrappedException)
BaseException 생성자.
|
BaseException(org.springframework.context.MessageSource messageSource,
String messageKey,
Object[] messageParameters,
String defaultMessage,
Locale locale,
Throwable wrappedException)
BaseException 생성자.
|
BaseException(org.springframework.context.MessageSource messageSource,
String messageKey,
Object[] messageParameters,
String defaultMessage,
Throwable wrappedException)
BaseException 생성자.
|
BaseException(org.springframework.context.MessageSource messageSource,
String messageKey,
Object[] messageParameters,
Throwable wrappedException)
BaseException 생성자.
|
BaseException(org.springframework.context.MessageSource messageSource,
String messageKey,
Throwable wrappedException)
BaseException 생성자.
|
BaseException(String defaultMessage)
BaseException 생성자.
|
BaseException(String defaultMessage,
Object[] messageParameters,
Throwable wrappedException)
BaseException 생성자.
|
BaseException(String defaultMessage,
Throwable wrappedException)
BaseException 생성자.
|
BaseException(Throwable wrappedException)
BaseException 생성자.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage() |
String |
getMessageKey() |
Object[] |
getMessageParameters() |
Throwable |
getWrappedException() |
void |
setMessage(String message) |
void |
setMessageKey(String messageKey) |
void |
setMessageParameters(Object[] messageParameters) |
void |
setWrappedException(Exception wrappedException) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprotected String message
protected String messageKey
protected Object[] messageParameters
protected Exception wrappedException
public BaseException()
public BaseException(String defaultMessage)
defaultMessage - 메세지 지정public BaseException(Throwable wrappedException)
wrappedException - 원인 Exceptionpublic BaseException(String defaultMessage, Throwable wrappedException)
defaultMessage - 메세지 지정wrappedException - 원인 Exceptionpublic BaseException(String defaultMessage, Object[] messageParameters, Throwable wrappedException)
defaultMessage - 메세지 지정(변수지정)messageParameters - 치환될 메세지 리스트wrappedException - 원인 Exceptionpublic BaseException(org.springframework.context.MessageSource messageSource,
String messageKey)
messageSource - 메세지 리소스messageKey - 메세지키값public BaseException(org.springframework.context.MessageSource messageSource,
String messageKey,
Throwable wrappedException)
messageSource - 메세지 리소스messageKey - 메세지키값public BaseException(org.springframework.context.MessageSource messageSource,
String messageKey,
Locale locale,
Throwable wrappedException)
messageSource - 메세지 리소스messageKey - 메세지키값locale - 국가/언어지정wrappedException - 원인 Exceptionpublic BaseException(org.springframework.context.MessageSource messageSource,
String messageKey,
Object[] messageParameters,
Locale locale,
Throwable wrappedException)
messageSource - 메세지 리소스messageKey - 메세지키값messageParameters - 치환될 메세지 리스트locale - 국가/언어지정wrappedException - 원인 Exceptionpublic BaseException(org.springframework.context.MessageSource messageSource,
String messageKey,
Object[] messageParameters,
Throwable wrappedException)
messageSource - 메세지 리소스messageKey - 메세지키값messageParameters - 치환될 메세지 리스트wrappedException - 원인 Exceptionpublic BaseException(org.springframework.context.MessageSource messageSource,
String messageKey,
Object[] messageParameters,
String defaultMessage,
Throwable wrappedException)
messageSource - 메세지 리소스messageKey - 메세지키값messageParameters - 치환될 메세지 리스트defaultMessage - 메세지 지정(변수지정)wrappedException - 원인 Exceptionpublic BaseException(org.springframework.context.MessageSource messageSource,
String messageKey,
Object[] messageParameters,
String defaultMessage,
Locale locale,
Throwable wrappedException)
messageSource - 메세지 리소스messageKey - 메세지키값messageParameters - 치환될 메세지 리스트defaultMessage - 메세지 지정(변수지정)locale - 국가/언어지정wrappedException - 원인 Exceptionpublic String getMessage()
getMessage in class Throwablepublic void setMessage(String message)
public String getMessageKey()
public void setMessageKey(String messageKey)
public Object[] getMessageParameters()
public void setMessageParameters(Object[] messageParameters)
public Throwable getWrappedException()
public void setWrappedException(Exception wrappedException)
Copyright © 2015. All rights reserved.