Class FileExtensionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
edu.ntnu.idatt2001.carljgu.filehandling.FileExtensionException
- All Implemented Interfaces:
Serializable
Thrown if an extension of a file is invalid
The exception thrown needs to have a message
- Version:
- 1.1 20.03.2022
- Author:
- Carl Gützkow
- See Also:
-
Constructor Summary
ConstructorDescriptionFileExtensionException
(String message) Constructs an exception with a detail message -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FileExtensionException
Constructs an exception with a detail message- Parameters:
message
- the detail message to display
-