csheets.ext.test
Class DuplicateUserTCPException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by csheets.ext.test.DuplicateUserTCPException
All Implemented Interfaces:
Serializable

public class DuplicateUserTCPException
extends Exception

An exception that is thrown if a user enters a duplicate test case param of type USER_ENTERED.

Author:
Jens Schou
See Also:
Serialized Form

Constructor Summary
DuplicateUserTCPException(Object value)
          Creates a new duplicate user entered TCP exception.
DuplicateUserTCPException(Object value, String message)
          Creates a new duplicate user entered TCP exception.
 
Method Summary
 Object getValue()
          Returns the value that caused the exception.
 
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

DuplicateUserTCPException

public DuplicateUserTCPException(Object value)
Creates a new duplicate user entered TCP exception.

Parameters:
value - the value that caused the exception

DuplicateUserTCPException

public DuplicateUserTCPException(Object value,
                                 String message)
Creates a new duplicate user entered TCP exception.

Parameters:
value - the value that caused the exception
message - a message that describes what happened
Method Detail

getValue

public Object getValue()
Returns the value that caused the exception.

Returns:
the value that caused the exception