Package org.apache.ofbiz.service
Class GeneralServiceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.ofbiz.base.util.GeneralException
org.apache.ofbiz.service.GeneralServiceException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
EntitySyncContext.SyncAbortException
,EntitySyncContext.SyncErrorException
General Service Exception - base Exception for in-Service Errors
- See Also:
-
Constructor Summary
ConstructorDescriptionGeneralServiceException
(String str, Throwable nested) GeneralServiceException
(String str, List<? extends Object> errorMsgList, Map<String, ? extends Object> errorMsgMap, Map<String, ? extends Object> nestedServiceResult, Throwable nested) GeneralServiceException
(Throwable nested) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addErrorMessages
(List<? extends Object> errMsgs) Add error messages.returnError
(String module) Return error map.Methods inherited from class org.apache.ofbiz.base.util.GeneralException
checkException, getMessage, getMessageList, getNested, getNonNestedMessage, printStackTrace, printStackTrace, printStackTrace
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Constructor Details
-
GeneralServiceException
public GeneralServiceException() -
GeneralServiceException
-
GeneralServiceException
-
GeneralServiceException
-
GeneralServiceException
-
-
Method Details
-
returnError
Return error map.- Parameters:
module
- the module- Returns:
- the map
-
addErrorMessages
Add error messages.- Parameters:
errMsgs
- the err msgs
-