org.quartz.xml
Class ValidationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.quartz.xml.ValidationException
All Implemented Interfaces:
java.io.Serializable

public class ValidationException
extends java.lang.Exception

Reports JobSchedulingDataLoader validation exceptions.

Author:
Chris Bonham
See Also:
Serialized Form

Constructor Summary
ValidationException()
          Constructor for ValidationException.
ValidationException(java.util.Collection<java.lang.Exception> errors)
          Constructor for ValidationException.
ValidationException(java.lang.String message)
          Constructor for ValidationException.
ValidationException(java.lang.String message, java.util.Collection<java.lang.Exception> errors)
          Constructor for ValidationException.
 
Method Summary
 java.lang.String getMessage()
          Returns the detail message string.
 java.util.Collection getValidationExceptions()
          Returns collection of errors.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ValidationException

public ValidationException()
Constructor for ValidationException.


ValidationException

public ValidationException(java.lang.String message)
Constructor for ValidationException.

Parameters:
message - exception message.

ValidationException

public ValidationException(java.util.Collection<java.lang.Exception> errors)
Constructor for ValidationException.

Parameters:
errors - collection of validation exceptions.

ValidationException

public ValidationException(java.lang.String message,
                           java.util.Collection<java.lang.Exception> errors)
Constructor for ValidationException.

Parameters:
message - exception message.
errors - collection of validation exceptions.
Method Detail

getValidationExceptions

public java.util.Collection getValidationExceptions()
Returns collection of errors.

Returns:
collection of errors.

getMessage

public java.lang.String getMessage()
Returns the detail message string.

Overrides:
getMessage in class java.lang.Throwable
Returns:
the detail message string.


Copyright 2001-2019, Terracotta, Inc.