Class ValidationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.amilesend.discogs.csv.validation.ValidationException
All Implemented Interfaces:
Serializable

public class ValidationException extends Exception
Defines the exception type for inventory CSV validation.
See Also:
  • Constructor Details

    • ValidationException

      public ValidationException(String msg)
      Creates a new ValidationException.
      Parameters:
      msg - the exception message
    • ValidationException

      public ValidationException(String msg, ValidationException.Descriptor error)
      Creates a new ValidationException.
      Parameters:
      msg - the exception message
      error - the error descriptor
    • ValidationException

      public ValidationException(String msg, ValidationException.Descriptor error, Throwable cause)
      Creates a new ValidationException.
      Parameters:
      msg - the exception message
      error - the error descriptor
      cause - the cause
    • ValidationException

      public ValidationException(String msg, Collection<ValidationException.Descriptor> errors)
      Creates a new ValidationException.
      Parameters:
      msg - the exception message
      errors - the collection of error descriptors
  • Method Details