public class DuplicateUserTCPException extends Exception
Constructor and Description |
---|
DuplicateUserTCPException(Object value)
Creates a new duplicate user entered TCP exception.
|
DuplicateUserTCPException(Object value,
String message)
Creates a new duplicate user entered TCP exception.
|
Modifier and Type | Method and Description |
---|---|
Object |
getValue()
Returns the value that caused the exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DuplicateUserTCPException(Object value)
value
- the value that caused the exceptionpublic DuplicateUserTCPException(Object value, String message)
value
- the value that caused the exceptionmessage
- a message that describes what happened