public class IllegalValueException extends RuntimeException
Thrown when some parameter of the method or constructor is invalid.
It is a Runtime exception to make it easier to handle - these types of errors are not meant to be caught anyway.
Constructor and Description |
---|
IllegalValueException(String message)
Constructs the exception with the given message.
|
IllegalValueException(String message,
Throwable cause)
Constructs the exception with the given message and cause.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public IllegalValueException(String message)
message
- the message of the new exceptionCopyright © 2014–2020, Printing in 3D. All rights reserved.