uk.org.ogsadai.activity.files
Class NonIncreasingSequenceException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--uk.org.ogsadai.activity.files.NonIncreasingSequenceException
All Implemented Interfaces:
java.io.Serializable

public class NonIncreasingSequenceException
extends java.lang.Exception

An exception denoting the user's attempt to use a sequence which is not strictly increasing.

Author:
The OGSA-DAI Project Team
See Also:
Serialized Form

Constructor Summary
NonIncreasingSequenceException(int[] items)
          Construct the exception and supply the items of the user's sequence, in order.
NonIncreasingSequenceException(java.lang.String pattern)
          Construct the exception and supply a string representation of the user's sequence which was non-increasing.
 
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

NonIncreasingSequenceException

public NonIncreasingSequenceException(java.lang.String pattern)
Construct the exception and supply a string representation of the user's sequence which was non-increasing.

Parameters:
pattern - the invalid sequence

NonIncreasingSequenceException

public NonIncreasingSequenceException(int[] items)
Construct the exception and supply the items of the user's sequence, in order.

Parameters:
items - the invalid sequence