com.jkoolcloud.tnt4j.streams.inputs.VoidRequestException Maven / Gradle / Ivy
/*
* Copyright 2014-2023 JKOOL, LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.jkoolcloud.tnt4j.streams.inputs;
/**
* This exception is thrown when request URL is meaningless or cant be build using request context data.
*
* @version $Revision: 1 $
*/
public class VoidRequestException extends Exception {
private static final long serialVersionUID = -723137453526020785L;
/**
* Constructs an {@code VoidRequestException} with the specified detail message.
*
* @param message
* the detail message. The detail message is saved for later retrieval by the {@link #getMessage()}
* method.
*/
public VoidRequestException(String message) {
super(message);
}
/**
* Constructs an {@code VoidRequestException} with the specified detail message and cause.
*
* @param message
* the detail message (which is saved for later retrieval by the {@link #getMessage()} method).
* @param cause
* the cause (which is saved for later retrieval by the {@link #getCause()} method). (A null
* value is permitted, and indicates that the cause is nonexistent or unknown.)
*/
public VoidRequestException(String message, Throwable cause) {
super(message, cause);
}
/**
* Constructs an {@code MissingFieldValueException} with the specified detail message and cause.
*
* @param message
* the detail message (which is saved for later retrieval by the {@link #getMessage()} method).
* @param cause
* the cause (which is saved for later retrieval by the {@link #getCause()} method). (A null
* value is permitted, and indicates that the cause is nonexistent or unknown.)
* @param enableSuppression
* whether or not suppression is enabled or disabled
* @param writableStackTrace
* whether or not the stack trace should be writable
*/
public VoidRequestException(String message, Throwable cause, boolean enableSuppression,
boolean writableStackTrace) {
super(message, cause, enableSuppression, writableStackTrace);
}
}