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

ca.rbon.iostream.CodeFlowError Maven / Gradle / Ivy

The newest version!
package ca.rbon.iostream;

/**
 * 

* CodeFlowError class. *

* * @author fralalonde * @version $Id: $Id */ public class CodeFlowError extends RuntimeException { static final String FLUENT_SHOULD_PREVENT = "%s This should error should have been prevented by the fluent IoStream builder constraints." + " Please create report this issue at https://github.com/fralalonde/iostream/issues"; /** *

* Constructor for CodeFlowError. *

* * @param message a {@link java.lang.String} object. */ public CodeFlowError(String message) { super(String.format(FLUENT_SHOULD_PREVENT, message)); } /** *

* Constructor for CodeFlowError. *

* * @param format a {@link java.lang.String} format template. * @param arg an object to format */ public CodeFlowError(String format, Object arg) { super(String.format(FLUENT_SHOULD_PREVENT, String.format(format, arg))); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy