Class Response

  • All Implemented Interfaces:
    java.io.Serializable

    class Response
    extends java.lang.Object
    implements java.io.Serializable
    Represents response from HotSpot agent process by holding result and error if occurred.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.Throwable error  
      private Result result  
    • Constructor Summary

      Constructors 
      Constructor Description
      Response​(java.lang.Throwable error)  
      Response​(Result result)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) java.lang.Throwable getError()  
      (package private) Result getResult()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • result

        private final Result result
      • error

        private final java.lang.Throwable error
    • Constructor Detail

      • Response

        Response​(Result result)
      • Response

        Response​(java.lang.Throwable error)
    • Method Detail

      • getResult

        Result getResult()
      • getError

        java.lang.Throwable getError()