Package io.lighty.codecs.xml
Class ValidationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- io.lighty.codecs.xml.ValidationException
-
- All Implemented Interfaces:
Serializable
public class ValidationException extends Exception
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ValidationException.ExceptionMessageWithStackTrace
-
Constructor Summary
Constructors Constructor Description ValidationException(Map<String,Map<String,ValidationException.ExceptionMessageWithStackTrace>> failedValidations)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ValidationException
createForSingleException(ModuleIdentifier moduleIdentifier, Exception exception)
static ValidationException
createFromCollectedValidationExceptions(List<ValidationException> collectedExceptions)
Map<String,Map<String,ValidationException.ExceptionMessageWithStackTrace>>
getFailedValidations()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ValidationException
public ValidationException(Map<String,Map<String,ValidationException.ExceptionMessageWithStackTrace>> failedValidations)
-
-
Method Detail
-
createFromCollectedValidationExceptions
public static ValidationException createFromCollectedValidationExceptions(List<ValidationException> collectedExceptions)
-
createForSingleException
public static ValidationException createForSingleException(ModuleIdentifier moduleIdentifier, Exception exception)
-
getFailedValidations
public Map<String,Map<String,ValidationException.ExceptionMessageWithStackTrace>> getFailedValidations()
-
-