public class SqlValidationException extends RuntimeException
For more information please see SqlValidator
.
Modifier and Type | Field and Description |
---|---|
private SqlValidationResult<?> |
result
The result of the validation.
|
private static long |
serialVersionUID |
Constructor and Description |
---|
SqlValidationException()
Creates a new instance of the exception.
|
SqlValidationException(SqlValidationResult<T> result)
Creates a new instance of the exception.
|
SqlValidationException(String message)
Creates a new instance of the exception.
|
SqlValidationException(String message,
SqlValidationResult<T> result)
Creates a new instance of the exception.
|
SqlValidationException(String message,
Throwable cause)
Creates a new instance of the exception.
|
SqlValidationException(Throwable cause)
Creates a new instance of the exception.
|
Modifier and Type | Method and Description |
---|---|
<T> SqlValidationResult<T> |
getResult()
Returns the validation result.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
private static final long serialVersionUID
private SqlValidationResult<?> result
public SqlValidationException()
public SqlValidationException(String message)
message
- the error messagepublic SqlValidationException(Throwable cause)
cause
- the error causepublic SqlValidationException(String message, Throwable cause)
message
- the error messagecause
- the error causepublic SqlValidationException(SqlValidationResult<T> result)
result
- the validation resultpublic SqlValidationException(String message, SqlValidationResult<T> result)
message
- the error messageresult
- the validation resultpublic <T> SqlValidationResult<T> getResult()
Copyright © 2015. All rights reserved.