Package net.fortuna.ical4j.validate
Class ValidationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- net.fortuna.ical4j.validate.ValidationException
-
- All Implemented Interfaces:
Serializable
public class ValidationException extends RuntimeException
$Id$ [23-Apr-2004] An exception thrown during validation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValidationException()
Default constructor.ValidationException(String message)
Constructor with message.ValidationException(String message, Object[] args)
Constructor with message pattern and arguments.ValidationException(ValidationResult result)
Constructor with message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValidationResult
getResult()
-
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()
Default constructor.
-
ValidationException
public ValidationException(ValidationResult result)
Constructor with message.- Parameters:
result
- a validation result
-
ValidationException
public ValidationException(String message)
Constructor with message.- Parameters:
message
- a message
-
-
Method Detail
-
getResult
public ValidationResult getResult()
-
-