|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception com.dlsc.flexgantt.model.dateline.DatelineModelException
public class DatelineModelException
The dateline throws exceptions of this type when certain changes to it can not be performed (e.g. the maximum dateline width has been reached).
Nested Class Summary | |
---|---|
static class |
DatelineModelException.ID
An enumerater for distinguishing between different types of dateline model veto exceptions. |
Constructor Summary | |
---|---|
DatelineModelException(java.lang.String msg,
DatelineModelException.ID id)
Constructs a new exception. |
Method Summary | |
---|---|
DatelineModelException.ID |
getId()
Returns the type of the exception. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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 |
---|
public DatelineModelException(java.lang.String msg, DatelineModelException.ID id)
msg
- a message to be shown in the console / to the userid
- an additional identifier that allows to distinguish between
different types of exceptionsMethod Detail |
---|
public DatelineModelException.ID getId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |