Class ExportException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
at.htl.timetableGenerator.exceptions.ExportException
All Implemented Interfaces:
Serializable

public class ExportException extends RuntimeException
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 Details

    • ExportException

      public ExportException(String message)
      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

      public ExportException(String message, Throwable cause)
      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.)