Package org.apache.ofbiz.service
Class ServiceValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.ofbiz.base.util.GeneralException
org.apache.ofbiz.service.GenericServiceException
org.apache.ofbiz.service.ServiceValidationException
- All Implemented Interfaces:
Serializable
ServiceValidationException
- See Also:
-
Constructor Summary
ConstructorDescriptionServiceValidationException
(String str, Throwable nested, ModelService service) ServiceValidationException
(String str, Throwable nested, ModelService service, List<String> missingFields, List<String> extraFields, String errorMode) ServiceValidationException
(String str, ModelService service) ServiceValidationException
(String str, ModelService service, List<String> missingFields, List<String> extraFields, String errorMode) ServiceValidationException
(List<String> messages, ModelService service, String errorMode) ServiceValidationException
(List<String> messages, ModelService service, List<String> missingFields, List<String> extraFields, String errorMode) ServiceValidationException
(ModelService service, List<String> missingFields, List<String> extraFields, String errorMode) -
Method Summary
Modifier and TypeMethodDescriptionGets extra fields.Returns the detail message, including the message from the nested exception if there is one.Gets message list.Gets missing fields.getMode()
Gets mode.Gets model service.Gets service name.Methods inherited from class org.apache.ofbiz.base.util.GeneralException
checkException, getNested, getNonNestedMessage, printStackTrace, printStackTrace, printStackTrace
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Constructor Details
-
ServiceValidationException
-
ServiceValidationException
-
ServiceValidationException
-
ServiceValidationException
-
ServiceValidationException
-
ServiceValidationException
-
ServiceValidationException
-
-
Method Details
-
getExtraFields
Gets extra fields.- Returns:
- the extra fields
-
getMissingFields
Gets missing fields.- Returns:
- the missing fields
-
getMessageList
Description copied from class:GeneralException
Gets message list.- Overrides:
getMessageList
in classGeneralException
- Returns:
- the message list
-
getModelService
Gets model service.- Returns:
- the model service
-
getMode
Gets mode.- Returns:
- the mode
-
getServiceName
Gets service name.- Returns:
- the service name
-
getMessage
Description copied from class:GeneralException
Returns the detail message, including the message from the nested exception if there is one.- Overrides:
getMessage
in classGeneralException
-