Package it.unimi.di.prog2.h08.impl
Class NegativeExponentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
it.unimi.di.prog2.h08.impl.NegativeExponentException
- All Implemented Interfaces:
Serializable
Thrown when an application attempts to use a negative exponent in a
Poly
.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final long
THe serial version. -
Constructor Summary
ConstructorsConstructorDescriptionBuilds a new exception.NegativeExponentException
(String message) Builds an exception with a given message.NegativeExponentException
(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
-
NegativeExponentException
public NegativeExponentException()Builds a new exception. -
NegativeExponentException
Builds an exception with a given message.- Parameters:
message
- the message.
-
NegativeExponentException
Builds an exception with a given message and cause.- Parameters:
message
- the message.cause
- the cause.
-