Class Action.Result.FailureWithException

java.lang.Object
org.elasticsearch.xpack.core.watcher.actions.Action.Result
org.elasticsearch.xpack.core.watcher.actions.Action.Result.FailureWithException
All Implemented Interfaces:
org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentFragment
Enclosing class:
Action.Result

public static class Action.Result.FailureWithException extends Action.Result
  • Constructor Details

    • FailureWithException

      public FailureWithException(String type, Exception exception)
  • Method Details

    • getException

      public Exception getException()
    • toXContent

      public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException
      Throws:
      IOException