Class TechnicalException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.fluxcapacitor.javaclient.common.exception.TechnicalException
- All Implemented Interfaces:
Serializable
Exception indicating a technical or unexpected failure within the application.
Unlike FunctionalException
, which is designed to communicate business or user-facing errors,
TechnicalException
represents low-level, infrastructure, or unforeseen errors such as I/O issues,
serialization failures, or unexpected runtime failures.
These exceptions are typically used to wrap application exceptions or surface errors that should not be transferred to clients or external systems. However, they are still serialized cleanly (without stack traces) for logging or fallback handling.
Stack traces and suppressed exceptions are excluded to prevent information leakage during serialization.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTechnicalException
(String message) TechnicalException
(String message, Throwable cause) TechnicalException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) TechnicalException
(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
-
TechnicalException
public TechnicalException() -
TechnicalException
-
TechnicalException
-
TechnicalException
-
TechnicalException
-