Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
package com.nimbusds.oauth2.sdk;
import java.net.URI;
import com.nimbusds.oauth2.sdk.id.ClientID;
import com.nimbusds.oauth2.sdk.id.State;
/**
* Parse exception.
*/
public class ParseException extends GeneralException {
/**
* Creates a new parse exception.
*
* @param message The exception message. May be {@code null}.
*/
public ParseException(final String message) {
this(message, null, null, null, null, null);
}
/**
* Creates a new parse exception.
*
* @param message The exception message. May be {@code null}.
* @param cause The exception cause, {@code null} if not specified.
*/
public ParseException(final String message, final Throwable cause) {
this(message, null, null, null, null, cause);
}
/**
* Creates a new parse exception.
*
* @param message The exception message. May be {@code null}.
* @param error The associated error, {@code null} if not specified.
*/
public ParseException(final String message, final ErrorObject error) {
this(message, error, null, null, null, null);
}
/**
* Creates a new parse exception.
*
* @param message The exception message. May be {@code null}.
* @param error The associated error, {@code null} if not specified.
* @param cause The exception cause, {@code null} if not specified.
*/
public ParseException(final String message,
final ErrorObject error,
final Throwable cause) {
this(message, error, null, null, null, cause);
}
/**
* Creates a new parse exception.
*
* @param message The exception message. May be {@code null}.
* @param error The associated error, {@code null} if not
* specified.
* @param clientID The associated client identifier. Must not be
* {@code null}.
* @param redirectURI The associated redirection URI. Must not be
* {@code null}.
* @param state The optional associated state parameter,
* {@code null} if not specified.
*/
public ParseException(final String message,
final ErrorObject error,
final ClientID clientID,
final URI redirectURI,
final State state) {
this(message, error, clientID, redirectURI, state, null);
}
/**
* Creates a new parse exception.
*
* @param message The exception message. May be {@code null}.
* @param error The associated error, {@code null} if not
* specified.
* @param clientID The associated client identifier. Must not be
* {@code null}.
* @param redirectURI The associated redirection URI. Must not be
* {@code null}.
* @param state The optional associated state parameter,
* {@code null} if not specified.
* @param cause The exception cause, {@code null} if not
* specified.
*/
public ParseException(final String message,
final ErrorObject error,
final ClientID clientID,
final URI redirectURI,
final State state,
final Throwable cause) {
super(message, error, clientID, redirectURI, state, cause);
}
}