Class SourcePathMismatchException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.inductiveautomation.historian.gateway.api.storage.realtime.SourcePathMismatchException
- All Implemented Interfaces:
Serializable
Runtime exception thrown when attempting to process a point against a
DataNodeSession
with a source path that doesn't match what the node session represents.
This exception indicates a mismatch between the expected path of the session
and the actual path provided in the temporal point.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSourcePathMismatchException
(QualifiedPath expectedPath, QualifiedPath actualPath) Constructs a newSourcePathMismatchException
with the specified expected and actual paths.SourcePathMismatchException
(String message, QualifiedPath expectedPath, QualifiedPath actualPath) Constructs a newSourcePathMismatchException
with the specified expected and actual paths, and a custom message. -
Method Summary
Modifier and TypeMethodDescriptionGets the path that was attempted to be processed.Gets the path that theDataNodeSession
represents.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SourcePathMismatchException
Constructs a newSourcePathMismatchException
with the specified expected and actual paths.- Parameters:
expectedPath
- the path that theDataNodeSession
representsactualPath
- the path that was attempted to be processed
-
SourcePathMismatchException
public SourcePathMismatchException(String message, QualifiedPath expectedPath, QualifiedPath actualPath) Constructs a newSourcePathMismatchException
with the specified expected and actual paths, and a custom message.- Parameters:
message
- the detail messageexpectedPath
- the path that theDataNodeSession
representsactualPath
- the path that was attempted to be processed
-
-
Method Details
-
getExpectedPath
Gets the path that theDataNodeSession
represents.- Returns:
- the expected path
-
getActualPath
Gets the path that was attempted to be processed.- Returns:
- the actual path
-