Enhanced documentation for Java classes

This commit is contained in:
Valentyn Kolesnikov
2024-02-02 09:07:48 +02:00
committed by Valentyn Kolesnikov
parent 010e83b925
commit 99c84fdf3a
9 changed files with 68 additions and 1 deletions

View File

@@ -14,10 +14,21 @@ Public Domain.
public class JSONPointerException extends JSONException {
private static final long serialVersionUID = 8872944667561856751L;
/**
* Constructs a new JSONPointerException with the specified error message.
*
* @param message The detail message describing the reason for the exception.
*/
public JSONPointerException(String message) {
super(message);
}
/**
* Constructs a new JSONPointerException with the specified error message and cause.
*
* @param message The detail message describing the reason for the exception.
* @param cause The cause of the exception.
*/
public JSONPointerException(String message, Throwable cause) {
super(message, cause);
}