Package org.cyclos.model
Class MaxItemsException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.cyclos.model.CyclosException
-
- org.cyclos.model.FrameworkException
-
- org.cyclos.model.MaxItemsException
-
- All Implemented Interfaces:
Serializable
public class MaxItemsException extends FrameworkException
Exception thrown when attempting to create a new data but the maximum allowed items has already reached- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MaxItemsException()MaxItemsException(int maxItems)MaxItemsException(String message, int maxItems)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetMaxItems()voidsetMaxItems(int maxItems)-
Methods inherited from class org.cyclos.model.CyclosException
getMessage, shouldGenerateLog
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
MaxItemsException
public MaxItemsException()
-
MaxItemsException
public MaxItemsException(int maxItems)
-
MaxItemsException
public MaxItemsException(String message, int maxItems)
-
-