org.jomc.sequences
Class SequenceExistsException

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

Gets thrown when a sequence is about to be added to a directory although a sequence with the same name already exists.

Dependencies

Messages

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

Constructor Summary
Constructor and Description
SequenceExistsException(Sequence sequence)
          Creates a new SequenceExistsException taking the already existing sequence.
 
Method Summary
Modifier and Type Method and Description
 String getMessage()
          Gets the message of the exception.
 Sequence getSequence()
          Gets the sequence already known.
 
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

SequenceExistsException

public SequenceExistsException(Sequence sequence)
Creates a new SequenceExistsException taking the already existing sequence.

Parameters:
sequence - The sequence already known.
Method Detail

getSequence

public Sequence getSequence()
Gets the sequence already known.

Returns:
The sequence already known.

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.