org.jomc.sequences
Class ConcurrentModificationException

Package class diagram package ConcurrentModificationException
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.ConcurrentModificationException
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 ConcurrentModificationException
extends SequencesException

Gets thrown whenever a sequence is edited or removed using outdated data.

Dependencies

Messages

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

Constructor Summary
Constructor and Description
ConcurrentModificationException(Sequence sequence)
          Creates a new ConcurrentModificationException instance taking the most recent revision of the sequence to report.
 
Method Summary
Modifier and Type Method and Description
 String getMessage()
          Gets the message of the exception.
 Sequence getMostRecentRevision()
          Gets the most recent revision of the sequence.
 
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

ConcurrentModificationException

public ConcurrentModificationException(Sequence sequence)
Creates a new ConcurrentModificationException instance taking the most recent revision of the sequence to report.

Parameters:
sequence - The most recent revision of the sequence to report.
Method Detail

getMostRecentRevision

public Sequence getMostRecentRevision()
Gets the most recent revision of the sequence.

Returns:
The most recent revision of the sequence.

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.