Class ElasticsearchSecurityException

All Implemented Interfaces:
Serializable, Writeable, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentFragment

public class ElasticsearchSecurityException extends ElasticsearchStatusException
Generic security exception
See Also:
Serialized Form
  • Constructor Details

    • ElasticsearchSecurityException

      public ElasticsearchSecurityException(String msg, RestStatus status, Throwable cause, Object... args)
      Build the exception with a specific status and cause.
    • ElasticsearchSecurityException

      public ElasticsearchSecurityException(String msg, Exception cause, Object... args)
      Build the exception with the status derived from the cause.
    • ElasticsearchSecurityException

      public ElasticsearchSecurityException(String msg, Object... args)
      Build the exception with a status of RestStatus.INTERNAL_SERVER_ERROR without a cause.
    • ElasticsearchSecurityException

      public ElasticsearchSecurityException(String msg, RestStatus status, Object... args)
      Build the exception without a cause.
    • ElasticsearchSecurityException

      public ElasticsearchSecurityException(StreamInput in) throws IOException
      Read from a stream.
      Throws:
      IOException