Class StreamTaskException

All Implemented Interfaces:
Serializable

public class StreamTaskException extends StreamException
Thrown when an async task observed via waitForTask reaches status: "failed". Populated from the task's ErrorResult.
See Also:
  • Constructor Details

    • StreamTaskException

      public StreamTaskException(String taskId, String errorType, String description, @Nullable String stackTraceText, @Nullable String version)
  • Method Details

    • getTaskId

      public String getTaskId()
    • getErrorType

      public String getErrorType()
    • getDescription

      public String getDescription()
    • getStackTraceText

      @Nullable public String getStackTraceText()
      Returns the server-side stack trace from ErrorResult.stacktrace, or null. Named getStackTraceText so it does not collide with Throwable.getStackTrace().
    • getVersion

      @Nullable public String getVersion()