Class BringGeneralException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.bobocode.bring.core.exception.BringGeneralException
- All Implemented Interfaces:
Serializable
General-purpose exception used to wrap and propagate other exceptions within a system.
Extends RuntimeException and allows passing a cause (Throwable) to provide context.
- Since:
- 1.0
- Author:
- Blyzhnytsia Team
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBringGeneralException
(Throwable cause) Constructs a new BringGeneralException with the specified 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
-
BringGeneralException
Constructs a new BringGeneralException with the specified cause.- Parameters:
cause
- The Throwable cause for this exception
-