org.jomc.sequences
Class SequenceVetoException

Package class diagram package SequenceVetoException
java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.jomc.sequences.SequencesException
                  extended by org.jomc.sequences.SequenceVetoException
All Implemented Interfaces:
Serializable

@Generated(value="org.jomc.tools.SourceFileProcessor 1.0",
           comments="See http://jomc.sourceforge.net/jomc/1.0/jomc-tools")
public class SequenceVetoException
extends SequencesException

Gets thrown whenever illegal sequence information is passed to a method expecting legal sequence data.

Dependencies

Messages

Version:
$Id: SequenceVetoException.java 2244 2010-06-29 07:58:09Z schulte2005 $
Author:
Christian Schulte 1.0
See Also:
Serialized Form

Constructor Summary
Constructor and Description
SequenceVetoException()
          Creates a new SequenceVetoException instance.
SequenceVetoException(SequenceChangeEvent evt)
          Creates a new SequenceVetoException taking an event describing a vetoed sequence change.
 
Method Summary
Modifier and Type Method and Description
 String getMessage()
          Gets the message of the exception.
 SequenceChangeEvent getSequenceChangeEvent()
          Gets the event describing the vetoed change.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

SequenceVetoException

public SequenceVetoException(SequenceChangeEvent evt)
Creates a new SequenceVetoException taking an event describing a vetoed sequence change.

Parameters:
evt - An event describing a vetoed sequence change.

SequenceVetoException

@Generated(value="org.jomc.tools.SourceFileProcessor 1.0",
           comments="See http://jomc.sourceforge.net/jomc/1.0/jomc-tools")
public SequenceVetoException()
Creates a new SequenceVetoException instance.

Method Detail

getSequenceChangeEvent

public SequenceChangeEvent getSequenceChangeEvent()
Gets the event describing the vetoed change.

Returns:
The event describing the vetoed change.

getMessage

public String getMessage()
Gets the message of the exception.

Overrides:
getMessage in class Throwable
Returns:
The message of the exception.


Copyright © 2005-2010 The JOMC Project. All Rights Reserved.