Class NoSuchJsonElementException

All Implemented Interfaces:
Serializable

public class NoSuchJsonElementException extends NoSuchElementException
Thrown to indicate that a json element does not exist.
The exception message will contain the details of the missing element.
See Also:
  • Constructor Details

    • NoSuchJsonElementException

      public NoSuchJsonElementException()
      Constructs a new no such json element exception with no details.
    • NoSuchJsonElementException

      public NoSuchJsonElementException(@Nullable @Nullable String message)
      Constructs a new no such json element exception with the specified message.
      Parameters:
      message - The message of the exception
    • NoSuchJsonElementException

      public NoSuchJsonElementException(@Nullable @Nullable String message, @Nullable @Nullable Throwable cause)
      Constructs a new no such json element exception with the specified message and cause.
      Parameters:
      message - The message of the exception
      cause - The cause of the exception
    • NoSuchJsonElementException

      public NoSuchJsonElementException(@Nullable @Nullable Throwable cause)
      Constructs a new no such json element exception with the specified cause.
      Parameters:
      cause - The cause of the exception