Package it.unimi.di.prog2.h08.impl
Class EmptyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
it.unimi.di.prog2.h08.impl.EmptyException
- All Implemented Interfaces:
Serializable
Thrown when an application attempts to use extract elements from an empty
IntSet
.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final long
THe serial version. -
Constructor Summary
ConstructorsConstructorDescriptionBuilds a new exception.EmptyException
(String message) Builds a new exception with a given message.EmptyException
(String message, Throwable cause) Builds an exception with a given message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
static final long serialVersionUIDTHe serial version.- See Also:
-
-
Constructor Details
-
EmptyException
public EmptyException()Builds a new exception. -
EmptyException
Builds a new exception with a given message.- Parameters:
message
- the message.
-
EmptyException
Builds an exception with a given message and cause.- Parameters:
message
- the message.cause
- the cause.
-