package com.jscape.util.cli.ext;

/**
 * Represents a command line arguments parsing error.
 *
 * @author Alex Usun
 */
public class InvalidArgumentsException
        extends Exception {

    public InvalidArgumentsException() {
    }

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

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

    public InvalidArgumentsException(Throwable cause) {
        super(cause.getMessage() != null ? cause.getMessage() : cause.toString(), cause);
    }
}
