public class InvalidValueTypeException extends RuntimeException
| Constructor and Description |
|---|
InvalidValueTypeException(Class<?> unsupportedType)
Instantiates a new invalid value type exception.
|
InvalidValueTypeException(String message)
Creates an InvalidValueTypeException with the given message.
|
InvalidValueTypeException(String message,
Class<?> unsupportedType)
Instantiates a new invalid value type exception.
|
InvalidValueTypeException(String message,
Exception e) |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getUnsupportedType()
Gets the unsupported type.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidValueTypeException(String message)
message - The message for the user.public InvalidValueTypeException(String message, Class<?> unsupportedType)
message - the messageunsupportedType - the unsupported typepublic InvalidValueTypeException(Class<?> unsupportedType)
unsupportedType - the unsupported typepublic Class<?> getUnsupportedType()
Copyright © 2017. All rights reserved.