com.ibm.streamsx.rest

Class RESTErrorMessage

  • java.lang.Object
    • com.ibm.streamsx.rest.RESTErrorMessage


  • public class RESTErrorMessage
    extends java.lang.Object
    An object describing an IBM Streams REST api Error Message
    • Constructor Summary

      Constructors 
      Constructor and Description
      RESTErrorMessage(java.lang.String id, java.lang.String message) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      com.google.gson.JsonObject getAsJson()
      Gets the json object of this error message
      java.lang.String getMessage()
      Gets the error message
      java.lang.String getMessageId()
      Gets the id of this error message
      java.lang.String toString() 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • RESTErrorMessage

        public RESTErrorMessage(java.lang.String id,
                                java.lang.String message)
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        Gets the error message
        Returns:
        String
      • getMessageId

        public java.lang.String getMessageId()
        Gets the id of this error message
        Returns:
        String
      • getAsJson

        public com.google.gson.JsonObject getAsJson()
        Gets the json object of this error message
        Returns:
        JsonObject
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
streamsx.topology 2.1 @ IBMStreams GitHub