Class RecipeException

  • All Implemented Interfaces:
    java.io.Serializable

    public class RecipeException
    extends java.lang.RuntimeException
    When possible, Recipe should validate themselves prior to execution to prove that they are runnable without failure. But in some cases, recipes may interact with external systems that may fail even though the inputs validate. In those cases, recipes may throw RecipeException.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      RecipeException​(java.lang.String message)  
      RecipeException​(java.lang.String message, java.lang.Object... args)  
      RecipeException​(java.lang.Throwable cause)  
      RecipeException​(java.lang.Throwable cause, java.lang.String message, java.lang.Object... args)  
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • RecipeException

        public RecipeException​(java.lang.Throwable cause)
      • RecipeException

        public RecipeException​(java.lang.String message)
      • RecipeException

        public RecipeException​(java.lang.String message,
                               java.lang.Object... args)
      • RecipeException

        public RecipeException​(java.lang.Throwable cause,
                               java.lang.String message,
                               java.lang.Object... args)