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

public class SourcePathMismatchException extends RuntimeException
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 Details

    • SourcePathMismatchException

      public SourcePathMismatchException(QualifiedPath expectedPath, QualifiedPath actualPath)
      Constructs a new SourcePathMismatchException with the specified expected and actual paths.
      Parameters:
      expectedPath - the path that the DataNodeSession represents
      actualPath - the path that was attempted to be processed
    • SourcePathMismatchException

      public SourcePathMismatchException(String message, QualifiedPath expectedPath, QualifiedPath actualPath)
      Constructs a new SourcePathMismatchException with the specified expected and actual paths, and a custom message.
      Parameters:
      message - the detail message
      expectedPath - the path that the DataNodeSession represents
      actualPath - the path that was attempted to be processed
  • Method Details

    • getExpectedPath

      public QualifiedPath getExpectedPath()
      Gets the path that the DataNodeSession represents.
      Returns:
      the expected path
    • getActualPath

      public QualifiedPath getActualPath()
      Gets the path that was attempted to be processed.
      Returns:
      the actual path