Class ExpressionNotSupportedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.github.spartatech.sqljson.exception.ExpressionNotSupportedException
-
- All Implemented Interfaces:
Serializable
public class ExpressionNotSupportedException extends RuntimeException
Exception in case an expression not supported was used in the query.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExpressionNotSupportedException(String expression)Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExpressionNotSupportedExceptionfromExpression(String expression)Error for when a expression is not yet supported.StringgetExpression()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ExpressionNotSupportedException
public ExpressionNotSupportedException(String expression)
Constructor.- Parameters:
expression- expression attempted to be used
-
-
Method Detail
-
getExpression
public String getExpression()
-
fromExpression
public static ExpressionNotSupportedException fromExpression(String expression)
Error for when a expression is not yet supported.- Parameters:
expression- expression not handled- Returns:
- Exception
-
-