public abstract class AbstractExceptionHandleManager extends Object
<< 개정이력(Modification Information) >> 수정일 수정자 수정내용 ------- -------- --------------------------- 2009.05.30 Judd Cho 최초 생성 2015.01.31 Vincent Han 코드 품질 개선
| Modifier and Type | Field and Description |
|---|---|
protected Exception |
ex |
protected ExceptionHandler[] |
handlers |
protected org.springframework.context.MessageSource |
messageSource |
protected String[] |
patterns |
protected org.springframework.util.PathMatcher |
pm |
protected String |
thisPackageName |
| Constructor and Description |
|---|
AbstractExceptionHandleManager() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
enableMatcher()
PathMatcher 가 있는지 여부 반환.
|
String |
getPackageName()
getPackagename 메소드.
|
boolean |
hasReqExpMatcher()
PathMatcher 가 있는지 여부 반환.
|
boolean |
run(Exception exception)
상속받아 구현해야할 메스드 하지만 미리구현은 먼저 해둠.
|
void |
setException(Exception be)
setException 메소드.
|
void |
setHandlers(ExceptionHandler[] handlers)
setHandlers 메소드.
|
void |
setPackageName(String canonicalName)
setPackageName 메소드.
|
void |
setPatterns(String[] patterns)
setPatterns 메소드.
|
void |
setReqExpMatcher(org.springframework.util.PathMatcher pm)
setReqExpMatcher 메소드.
|
protected org.springframework.context.MessageSource messageSource
protected Exception ex
protected String thisPackageName
protected String[] patterns
protected ExceptionHandler[] handlers
protected org.springframework.util.PathMatcher pm
public void setPatterns(String[] patterns)
patterns - 패턴리스트public void setHandlers(ExceptionHandler[] handlers)
handlers - handler리스트public void setPackageName(String canonicalName)
canonicalName - 비교할 클래스명public String getPackageName()
public void setException(Exception be)
be - Exceptionpublic void setReqExpMatcher(org.springframework.util.PathMatcher pm)
pm - 별도의 PathMatcherpublic boolean hasReqExpMatcher()
public boolean enableMatcher()
Copyright © 2015. All rights reserved.