Class TechnicalException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.fluxzero.sdk.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(FluxzeroErrorReport fluxzeroErrorReport) TechnicalException(FluxzeroErrorReport fluxzeroErrorReport, Throwable cause) TechnicalException(String message) TechnicalException(String message, Throwable cause) TechnicalException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) TechnicalException(Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the documentation URL for the error code, if available.Returns the stable Fluxzero error code, if available.Returns the structured Fluxzero report backing this exception, if this exception was created from one.inthashCode()Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TechnicalException
public TechnicalException() -
TechnicalException
-
TechnicalException
-
TechnicalException
-
TechnicalException
-
TechnicalException
-
TechnicalException
-
-
Method Details
-
getFluxzeroErrorReport
Returns the structured Fluxzero report backing this exception, if this exception was created from one. -
getErrorCode
Returns the stable Fluxzero error code, if available. -
getDocumentationUrl
Returns the documentation URL for the error code, if available. -
equals
-
hashCode
-