Package com.blazebit.query.spi
Class PropertyNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.blazebit.query.spi.PropertyNotFoundException
- All Implemented Interfaces:
Serializable
Represents an exception that occurs during fetching of a property from the
DataFetchContext
.
This exception can be used to handle errors that occur during data retrieval or processing.- Since:
- 1.0.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPropertyNotFoundException
(String message) Constructs a new PropertyNotFoundException with the specified detail message.PropertyNotFoundException
(String message, Throwable cause) Represents an exception that occurs during data fetching.PropertyNotFoundException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Constructs a new PropertyNotFoundException with the specified detail message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled.Constructs a new PropertyNotFoundException with the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PropertyNotFoundException
Constructs a new PropertyNotFoundException with the specified detail message.- Parameters:
message
- the detail message- Throws:
NullPointerException
- if the message is null
-
PropertyNotFoundException
Represents an exception that occurs during data fetching. This exception can be used to handle errors that occur during data retrieval or processing.- Parameters:
message
- the description of the exceptioncause
- the underlying cause of the exception
-
PropertyNotFoundException
Constructs a new PropertyNotFoundException with the specified cause.- Parameters:
cause
- the cause of the exception- See Also:
-
PropertyNotFoundException
public PropertyNotFoundException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Constructs a new PropertyNotFoundException with the specified detail message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled.- Parameters:
message
- the detail message (which is saved for later retrieval by the getMessage method).cause
- the cause (which is saved for later retrieval by the getCause method). (A null value is permitted, and indicates that the cause is nonexistent or unknown).enableSuppression
- whether suppression is enabled or disabled.writableStackTrace
- whether the stack trace should be writable.
-