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

public abstract class FunctionalException extends RuntimeException
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, FunctionalExceptions 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 Details

    • FunctionalException

      public FunctionalException()
    • FunctionalException

      public FunctionalException(String message)
    • FunctionalException

      public FunctionalException(String message, Throwable cause)
    • FunctionalException

      public FunctionalException(Throwable cause)
    • FunctionalException

      public FunctionalException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)