Class FunctionalException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.fluxcapacitor.javaclient.common.exception.FunctionalException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
IllegalCommandException
,UnauthenticatedException
,UnauthorizedException
,ValidationException
Base class for user-facing exceptions that are intended to be serialized and transferred across system boundaries
(e.g., back to a calling client or frontend application).
Unlike typical internal exceptions, FunctionalException
s represent errors that are meaningful to the
originator of a request — such as validation issues, authentication failures, or rejected commands.
These exceptions are explicitly allowed to travel via Flux Platform and may appear in the result of a failed command or query.
To support clean serialization and prevent internal leakage, stack traces and suppressed exceptions are excluded.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFunctionalException
(String message) FunctionalException
(String message, Throwable cause) FunctionalException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) FunctionalException
(Throwable 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
-
FunctionalException
public FunctionalException() -
FunctionalException
-
FunctionalException
-
FunctionalException
-
FunctionalException
-