Class ValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.amilesend.discogs.csv.validation.ValidationException
- All Implemented Interfaces:
Serializable
Defines the exception type for inventory CSV validation.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionCreates a newValidationException
.ValidationException
(String msg, ValidationException.Descriptor error) Creates a newValidationException
.ValidationException
(String msg, ValidationException.Descriptor error, Throwable cause) Creates a newValidationException
.ValidationException
(String msg, Collection<ValidationException.Descriptor> errors) Creates a newValidationException
. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ValidationException
Creates a newValidationException
.- Parameters:
msg
- the exception message
-
ValidationException
Creates a newValidationException
.- Parameters:
msg
- the exception messageerror
- the error descriptor
-
ValidationException
Creates a newValidationException
.- Parameters:
msg
- the exception messageerror
- the error descriptorcause
- the cause
-
ValidationException
Creates a newValidationException
.- Parameters:
msg
- the exception messageerrors
- the collection of error descriptors
-
-
Method Details
-
getErrors
-