com.dlsc.flexgantt.model.dateline
Class DatelineModelVetoException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.dlsc.flexgantt.model.dateline.DatelineModelVetoException
All Implemented Interfaces:
java.io.Serializable

public class DatelineModelVetoException
extends java.lang.Exception

Dateline model listeners can throw this exception to veto a specific change to the dateline model. The dateline will inform all dateline listeners that a change is about to happen. The listeners can then throw this exception to block the change from happening.

Since:
1.0
Author:
Dirk Lemmermann
See Also:
Serialized Form

Constructor Summary
DatelineModelVetoException(java.lang.String msg)
          Constructs a new exception.
 
Method Summary
 
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

DatelineModelVetoException

public DatelineModelVetoException(java.lang.String msg)
Constructs a new exception.

Parameters:
msg - a message to be shown in the console / to the user
Since:
1.0