Class DocumentValidationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.nuxeo.ecm.core.api.NuxeoException
-
- org.nuxeo.ecm.core.api.validation.DocumentValidationException
-
- All Implemented Interfaces:
Serializable
public class DocumentValidationException extends NuxeoException
Exception thrown when some process failed due toValidationViolation
.- Since:
- 7.1
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
MESSAGE
protected static String
MESSAGE_SINGLE
-
Fields inherited from class org.nuxeo.ecm.core.api.NuxeoException
statusCode
-
-
Constructor Summary
Constructors Constructor Description DocumentValidationException(String message)
DocumentValidationException(DocumentValidationReport report)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMessage()
DocumentValidationReport
getReport()
-
Methods inherited from class org.nuxeo.ecm.core.api.NuxeoException
addInfo, getInfos, getOriginalMessage, getStatusCode
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
MESSAGE_SINGLE
protected static final String MESSAGE_SINGLE
- See Also:
- Constant Field Values
-
MESSAGE
protected static final String MESSAGE
-
-
Constructor Detail
-
DocumentValidationException
public DocumentValidationException(DocumentValidationReport report)
-
DocumentValidationException
public DocumentValidationException(String message)
-
-
Method Detail
-
getReport
public DocumentValidationReport getReport()
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classNuxeoException
-
-