Class IRecipeHandler.ReplacementNotSupportedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.blamejared.crafttweaker.api.recipe.handler.IRecipeHandler.ReplacementNotSupportedException
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- IRecipeHandler<T extends net.minecraft.world.item.crafting.Recipe<?>>
Exception that indicates that the current recipe handler does not support replacing for the targeted recipe
class.
Refer to IRecipeHandler.replaceIngredients(IRecipeManager, Recipe, List) for more information
regarding the exact semantics of this exception.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionReplacementNotSupportedException(String message) Constructs a new exception with the specified detail message.ReplacementNotSupportedException(String message, Throwable cause) Constructs a new exception with the specified detail message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ReplacementNotSupportedException
Constructs a new exception with the specified detail message.The cause is not initialized, and may subsequently be initialized by a call to
Throwable.initCause(java.lang.Throwable).- Parameters:
message- The detail message, which is saved for later retrieval by theThrowable.getMessage()method.
-
ReplacementNotSupportedException
Constructs a new exception with the specified detail message and cause.Note that the detail message associated with
causeis not automatically incorporated in this exception's detail message.- Parameters:
message- The detail message, which is saved for later retrieval by theThrowable.getMessage()method.cause- The cause, which is saved for later retrieval by theThrowable.getCause()method.nullis allowed and indicates that the cause is not available or not known.
-