All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.jbock.util.ExFailure Maven / Gradle / Ivy

The newest version!
package net.jbock.util;

import net.jbock.model.CommandModel;

/**
 * Superclass of exceptions that may be used internally
 * in the generated code. These are checked exceptions, to
 * make sure none of them are thrown from the generated
 * parse method.
 *
 * 

This class is internal API and should not be used * in client code. It may be removed without warning in future * releases. */ public abstract class ExFailure extends Exception { /** * Converts this exception to a non-exceptional failure object. * * @param model the command model * @return a failure object that is not an {@code Exception} */ public abstract ParsingFailed toError(CommandModel model); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy