timertests
Class UnsortedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by timertests.UnsortedException
All Implemented Interfaces:
java.io.Serializable

public class UnsortedException
extends java.lang.RuntimeException

Exception to be raised when the sorting algorithm fails to sort according to the given Comparator.

See Also:
Serialized Form

Constructor Summary
UnsortedException()
          Constructs a new exception with null as its detail message.
UnsortedException(java.lang.String message)
          Constructs a new exception with the specified detail message.
UnsortedException(java.lang.String message, java.lang.Throwable cause)
          Constructs a new exception with the specified detail message and cause.
UnsortedException(java.lang.Throwable cause)
          Constructs a new exception with the specified cause and a 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

UnsortedException

public UnsortedException()
Constructs a new exception with null as its detail message.


UnsortedException

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

Parameters:
message - the error message

UnsortedException

public UnsortedException(java.lang.String message,
                         java.lang.Throwable cause)
Constructs a new exception with the specified detail message and cause.

Parameters:
message - the error message
cause - the cause for the message

UnsortedException

public UnsortedException(java.lang.Throwable cause)
Constructs a new exception with the specified cause and a detail message.

Parameters:
cause - the cause for the message