diff --git a/src/main/java/cokr/xit/foundation/component/AbstractMapper.java b/src/main/java/cokr/xit/foundation/component/AbstractMapper.java index fd899e8..e5c2a65 100644 --- a/src/main/java/cokr/xit/foundation/component/AbstractMapper.java +++ b/src/main/java/cokr/xit/foundation/component/AbstractMapper.java @@ -1,5 +1,6 @@ package cokr.xit.foundation.component; +import cokr.xit.foundation.ApplicationException; import cokr.xit.foundation.UserInfo; import cokr.xit.foundation.data.DataObject; @@ -98,4 +99,10 @@ public interface AbstractMapper extends return new DataObject() .set("currentUser", currentUser()); } + + /**{@link ApplicationException#get(Throwable)} 참고 + */ + default ApplicationException applicationException(Throwable t) { + return ApplicationException.get(null); + } } \ No newline at end of file