Class SqlValidationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.sqlproc.engine.validation.SqlValidationException
All Implemented Interfaces:
Serializable

public class SqlValidationException extends RuntimeException
The general runtime exception class for the SQL Processor engine. This exception can be raised in the process of a CRUD statement execution as the result of the input values validation. This is just a container for the validation result.

For more information please see SqlValidator.

Author:
Vladimir Hudec
See Also:
  • Field Details

  • Constructor Details

    • SqlValidationException

      public SqlValidationException()
      Creates a new instance of the exception.
    • SqlValidationException

      public SqlValidationException(String message)
      Creates a new instance of the exception.
      Parameters:
      message - the error message
    • SqlValidationException

      public SqlValidationException(Throwable cause)
      Creates a new instance of the exception.
      Parameters:
      cause - the error cause
    • SqlValidationException

      public SqlValidationException(String message, Throwable cause)
      Creates a new instance of the exception.
      Parameters:
      message - the error message
      cause - the error cause
    • SqlValidationException

      public SqlValidationException(SqlValidationResult<T> result)
      Creates a new instance of the exception.
      Parameters:
      result - the validation result
    • SqlValidationException

      public SqlValidationException(String message, SqlValidationResult<T> result)
      Creates a new instance of the exception.
      Parameters:
      message - the error message
      result - the validation result
  • Method Details

    • getResult

      public <T> SqlValidationResult<T> getResult()
      Returns the validation result.
      Returns:
      the validation result