applicationException(Throwable) 추가

master
mjkhan21 2 years ago
parent 76dda94f10
commit 73782f5533

@ -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);
}
}
Loading…
Cancel
Save