Class ValidationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- de.gebit.integrity.runner.exceptions.ValidationException
-
- All Implemented Interfaces:
java.io.Serializable
public class ValidationException extends java.lang.RuntimeException
Validiation exception which indicates a validation result where progressing should not continue.- Author:
- tilois - initial API and implementation
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValidationException(java.lang.String aMessage)
Creates a validation exception with the given message.ValidationException(java.lang.String aMessage, java.lang.Throwable aCause)
Creates a validation exception with the given cause and message.ValidationException(java.lang.String aMessage, java.lang.Throwable aCause, org.eclipse.xtext.nodemodel.ICompositeNode aNode)
Creates a validation exception with the given cause, message and the the node causing the validation failure.ValidationException(java.lang.String aMessage, org.eclipse.xtext.nodemodel.ICompositeNode aNode)
Creates a validation exception with the given message and the the node causing the validation failure.ValidationException(java.lang.Throwable aCause)
Creates a validation exception with the given cause.ValidationException(java.lang.Throwable aCause, org.eclipse.xtext.nodemodel.ICompositeNode aNode)
Creates a validation exception with the given cause and the the node causing the validation failure.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.xtext.nodemodel.ICompositeNode
getOriginNode()
-
-
-
Constructor Detail
-
ValidationException
public ValidationException(java.lang.String aMessage)
Creates a validation exception with the given message.- Parameters:
aMessage
- Message for the validation exception.
-
ValidationException
public ValidationException(java.lang.Throwable aCause)
Creates a validation exception with the given cause.- Parameters:
aCause
- Cause of the validation exception.
-
ValidationException
public ValidationException(java.lang.String aMessage, java.lang.Throwable aCause)
Creates a validation exception with the given cause and message.- Parameters:
aMessage
- Message for the validation exception.aCause
- Cause of the validation exception.
-
ValidationException
public ValidationException(java.lang.String aMessage, org.eclipse.xtext.nodemodel.ICompositeNode aNode)
Creates a validation exception with the given message and the the node causing the validation failure.- Parameters:
aMessage
- Message for the validation exception.aNode
- Node causing the validation exception.
-
ValidationException
public ValidationException(java.lang.Throwable aCause, org.eclipse.xtext.nodemodel.ICompositeNode aNode)
Creates a validation exception with the given cause and the the node causing the validation failure.- Parameters:
aCause
- Cause of the validation exception.aNode
- Node causing the validation exception.
-
ValidationException
public ValidationException(java.lang.String aMessage, java.lang.Throwable aCause, org.eclipse.xtext.nodemodel.ICompositeNode aNode)
Creates a validation exception with the given cause, message and the the node causing the validation failure.- Parameters:
aMessage
- Message for the validation exception.aCause
- Cause of the validation exception.aNode
- Node causing the validation exception.
-
-