/*
 * Decompiled with CFR 0.152.
 */
package joptsimple;

import java.util.Collection;
import joptsimple.OptionException;

/*
 * This class specifies class file version 49.0 but uses Java 6 signatures.  Assumed Java 6.
 */
class OptionArgumentConversionException
extends OptionException {
    private static final long serialVersionUID = -1L;
    private final String argument;
    private final Class<?> valueType;

    OptionArgumentConversionException(Collection<String> options, String argument, Class<?> valueType, Throwable cause) {
        super(options, cause);
        this.argument = argument;
        this.valueType = valueType;
    }

    @Override
    public String getMessage() {
        return "Cannot convert argument '" + this.argument + "' of option " + this.multipleOptionMessage() + " to " + this.valueType;
    }
}
