Class InvalidRecipeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.hebkstudents.recipemanager.exception.InvalidRecipeException
- All Implemented Interfaces:
java.io.Serializable
public class InvalidRecipeException
extends java.lang.Exception
Exception is thrown if a recipe object has missing values that are needed to work properly or if the recipe obejct is null
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description InvalidRecipeException(java.lang.String message)
Constructs a new InvalidRecipeException object -
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 Details
-
InvalidRecipeException
public InvalidRecipeException(java.lang.String message)Constructs a new InvalidRecipeException object- Parameters:
message
- A String which contains a message
-