public class EmptyListException extends FatalException
Exception thrown when a function requiring a non-empty list is invoked with an empty list.
Modifier | Constructor and Description |
---|---|
|
EmptyListException()
Default constructor.
|
protected |
EmptyListException(java.lang.String message,
java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
static EmptyListException |
withMessage(java.lang.String message)
Return a new exception with the specified message text.
|
getCause, getMessage, setCause, setMessage, toString
protected EmptyListException(java.lang.String message, java.lang.Throwable cause)
public EmptyListException()
Default constructor.
public static EmptyListException withMessage(java.lang.String message)
Return a new exception with the specified message text.
message
- Message text.