jp2codec
Class NoNextElementException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by jp2codec.NoNextElementException
All Implemented Interfaces:
java.io.Serializable

public class NoNextElementException
extends java.lang.RuntimeException

This exception is thrown whenever a next???? method is called and there is no next element to return.

See Also:
Serialized Form

Constructor Summary
NoNextElementException()
          Constructs a new NoNextElementException exception with no detail message.
NoNextElementException(java.lang.String s)
          Constructs a new NoNextElementException exception with the specified detail message.
 
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

NoNextElementException

public NoNextElementException()
Constructs a new NoNextElementException exception with no detail message.


NoNextElementException

public NoNextElementException(java.lang.String s)
Constructs a new NoNextElementException exception with the specified detail message.

Parameters:
s - The detail message.