Class PropertyNotFoundException

All Implemented Interfaces:
Serializable

public class PropertyNotFoundException extends RuntimeException
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 Details

    • PropertyNotFoundException

      public PropertyNotFoundException(String message)
      Constructs a new PropertyNotFoundException with the specified detail message.
      Parameters:
      message - the detail message
      Throws:
      NullPointerException - if the message is null
    • PropertyNotFoundException

      public PropertyNotFoundException(String message, Throwable cause)
      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 exception
      cause - the underlying cause of the exception
    • PropertyNotFoundException

      public PropertyNotFoundException(Throwable cause)
      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.