Class ExportException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
at.htl.timetableGenerator.exceptions.ExportException
- All Implemented Interfaces:
Serializable
This class represents an exception that is thrown when an error occurs during the export
process.
It extends the RuntimeException class and provides two constructors to create an exception with a
message and an
optional cause.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionExportException(String message) Constructs a new ExportException with the specified detail message.ExportException(String message, Throwable cause) Constructs a new ExportException with the specified detail 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
-
Constructor Details
-
ExportException
Constructs a new ExportException with the specified detail message.- Parameters:
message- the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
-
ExportException
Constructs a new ExportException with the specified detail message and cause.- Parameters:
message- the detail message (which is saved for later retrieval by the Throwable.getMessage() method).cause- the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
-