Class AlgoFailure

  • All Implemented Interfaces:
    java.io.Serializable

    public final class AlgoFailure
    extends AlgoResponse
    A result representing failure
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected <T> T as​(java.lang.Class<T> returnClass)
      Convert the result to a specific class
      protected <T> T as​(java.lang.reflect.Type returnType)
      Convert the result to a specific type
      java.lang.String asJsonString()
      Return JSON representation of the result.
      java.lang.String asString()
      Return String representation of the result.
      AlgoAsyncResponse getAsyncResponse()  
      Metadata getMetadata()  
      java.lang.String getRawOutput()
      Return the raw output of the algorithm if it was called with AlgorithmOutputType.RAW This is the only valid way to retrieve a result from a RAW request.
      boolean isFailure()  
      boolean isSuccess()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait