net.sf.derquinsej.hib3.seq
Class SequenceNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.sf.derquinsej.hib3.seq.SequenceNotFoundException
All Implemented Interfaces:
Serializable

public class SequenceNotFoundException
extends RuntimeException

Exception thrown when a sequence is not found by name.

Author:
Andres Rodriguez
See Also:
Serialized Form

Constructor Summary
SequenceNotFoundException(String id)
          Initializes the exception.
 
Method Summary
 String getId()
          Returns the name (id) of the requested sequence.
 String getMessage()
           
 
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

SequenceNotFoundException

public SequenceNotFoundException(String id)
Initializes the exception.

Parameters:
id - Name (id) of the requested sequence.
Method Detail

getId

public String getId()
Returns the name (id) of the requested sequence.

Returns:
The name (id) of the requested sequence.

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable


Copyright © 2011. All Rights Reserved.