java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
edu.ntnu.idatt2106_2023_06.backend.exception.illegal.IllegalException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
IllegalFileTypeException, IllegalStatTypeException, IllegalStatValueException

public class IllegalException extends RuntimeException
This exception is thrown when an illegal argument is passed to a method.
Author:
Brage Halvorsen Kvamme
See Also:
  • Constructor Details

    • IllegalException

      public IllegalException(String message)
      This method constructs a new IllegalException with the specified message.
      Parameters:
      message - The message of the exception, given as a String