Package pl.matsuo.core.exception
Class RestProcessingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
pl.matsuo.core.exception.RestProcessingException
- All Implemented Interfaces:
Serializable
public class RestProcessingException extends RuntimeException
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,String>fieldErrorsprotected List<String>globalErrors -
Constructor Summary
Constructors Constructor Description RestProcessingException(String... globalErrors) -
Method Summary
Modifier and Type Method Description RestProcessingExceptionfieldError(String field, String code)Map<String,String>getFieldErrors()List<String>getGlobalErrors()RestProcessingExceptionglobalError(String code)Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
globalErrors
-
fieldErrors
-
-
Constructor Details
-
RestProcessingException
-
-
Method Details
-
fieldError
-
globalError
-
getGlobalErrors
-
getFieldErrors
-