Module net.luis.utils
Class NoSuchJsonElementException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.util.NoSuchElementException
net.luis.utils.io.data.json.exception.NoSuchJsonElementException
- All Implemented Interfaces:
Serializable
Thrown to indicate that a json element does not exist.
The exception message will contain the details of the missing element.
The exception message will contain the details of the missing element.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new no such json element exception with no details.NoSuchJsonElementException
(@Nullable String message) Constructs a new no such json element exception with the specified message.NoSuchJsonElementException
(@Nullable String message, @Nullable Throwable cause) Constructs a new no such json element exception with the specified message and cause.NoSuchJsonElementException
(@Nullable Throwable cause) Constructs a new no such json element exception 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
-
NoSuchJsonElementException
public NoSuchJsonElementException()Constructs a new no such json element exception with no details. -
NoSuchJsonElementException
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 exceptioncause
- The cause of the exception
-
NoSuchJsonElementException
Constructs a new no such json element exception with the specified cause.- Parameters:
cause
- The cause of the exception
-