aboutsummaryrefslogtreecommitdiffstats
path: root/container-core/src/main/java/com/yahoo/processing/IllegalInputException.java
blob: dab6cd766b034449de2f3b12911e52176b110534 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.processing;

/**
 * Thrown on illegal input received from the requesting client.
 * Use this instead of the superclass, IllegalArgumentException
 * to signal illegal input to the client without causing logging and stack traces,
 *
 * @author bratseth
 */
public class IllegalInputException extends IllegalArgumentException {

    public IllegalInputException(String message) {
        super(message);
    }

    public IllegalInputException(Throwable cause) {
        super(cause);
    }

    public IllegalInputException(String message, Throwable cause) {
        super(message, cause);
    }

}