2022-12-25 01:12:28 -08:00
|
|
|
package org.json;
|
|
|
|
|
|
|
|
/*
|
|
|
|
Public Domain.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The JSONPointerException is thrown by {@link JSONPointer} if an error occurs
|
|
|
|
* during evaluating a pointer.
|
|
|
|
*
|
|
|
|
* @author JSON.org
|
|
|
|
* @version 2016-05-13
|
|
|
|
*/
|
|
|
|
public class JSONPointerException extends JSONException {
|
|
|
|
private static final long serialVersionUID = 8872944667561856751L;
|
|
|
|
|
2024-09-21 20:17:42 -07:00
|
|
|
/**
|
|
|
|
* Constructs a new JSONPointerException with the specified error message.
|
|
|
|
*
|
|
|
|
* @param message The detail message describing the reason for the exception.
|
|
|
|
*/
|
2022-12-25 01:12:28 -08:00
|
|
|
public JSONPointerException(String message) {
|
|
|
|
super(message);
|
|
|
|
}
|
|
|
|
|
2024-09-21 20:17:42 -07:00
|
|
|
/**
|
|
|
|
* 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.
|
|
|
|
*/
|
2022-12-25 01:12:28 -08:00
|
|
|
public JSONPointerException(String message, Throwable cause) {
|
|
|
|
super(message, cause);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|