Package exceptions
Class MusialException
java.lang.Object
java.lang.Throwable
java.lang.Exception
exceptions.MusialException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionMusialException
(String message) Constructs a newMusialException
with the specified 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
-
MusialException
Constructs a newMusialException
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.
-