Package exceptions

Class MusialException

All Implemented Interfaces:
Serializable

public final class MusialException extends Exception
A custom exception class for handling application-specific errors.

This final class extends Exception and is used to represent errors specific to the Musial application. It provides a constructor for initializing the exception with a custom error message.

See Also:
  • Constructor Details

    • MusialException

      public MusialException(String message)
      Constructs a new MusialException with the specified detail message.

      This constructor initializes the exception with a custom error message that can be retrieved later using the Throwable.getMessage() method.

      Parameters:
      message - The detail message for the exception.