Class CapacityBelowAcceptedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.exoplatform.agenda.exception.CapacityBelowAcceptedException
- All Implemented Interfaces:
Serializable
A capacity limit refused because it is below the Yes answers given at a
date the change reaches.
It is a subclass of IllegalArgumentException whose message is the
code "agenda.capacity.belowAccepted", as for any other limit refused, so that a caller reading
only the code is unchanged. What the subclass adds is the date that blocks:
a limit of a series is checked against each of its dates still to come, and
the organiser who lowers it has to be told which one holds more Yes answers
than the limit asked (D16).
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
CODE
The code of a limit below the Yes answers, the exception's message.- See Also:
-
-
Constructor Details
-
CapacityBelowAcceptedException
- Parameters:
date- the day, in the series' zone, of the first date of a series whose Yes answers the limit is below, or null when the limit is refused at the date or the event being saved
-
-
Method Details
-
getDate
- Returns:
- the day, in the series' zone, of the first date of a series whose Yes answers the limit is below, or null when the limit is refused at the date or the event being saved
-