Class ValidationException

  • All Implemented Interfaces:
    Serializable

    public class ValidationException
    extends RuntimeException
    Validiation exception which indicates a validation result where progressing should not continue.
    Author:
    tilois - initial API and implementation
    See Also:
    Serialized Form
    • Constructor Detail

      • ValidationException

        public ValidationException​(String aMessage)
        Creates a validation exception with the given message.
        Parameters:
        aMessage - Message for the validation exception.
      • ValidationException

        public ValidationException​(Throwable aCause)
        Creates a validation exception with the given cause.
        Parameters:
        aCause - Cause of the validation exception.
      • ValidationException

        public ValidationException​(String aMessage,
                                   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​(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​(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​(String aMessage,
                                   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.
    • Method Detail

      • getOriginNode

        public org.eclipse.xtext.nodemodel.ICompositeNode getOriginNode()