java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
pl.polsl.rtsa.api.exception.DeviceException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ConnectionException
Base exception for all device-related errors.
This exception hierarchy allows the frontend to handle device errors in a structured and consistent manner.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumError codes for categorizing device exceptions. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDeviceException(DeviceException.ErrorCode errorCode, String message) DeviceException(DeviceException.ErrorCode errorCode, String message, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
errorCode
-
-
Constructor Details
-
DeviceException
-
DeviceException
-
-
Method Details
-
getErrorCode
-