Class ElasticsearchSecurityException

All Implemented Interfaces:
Serializable, Writeable, ToXContent, ToXContentFragment

public class ElasticsearchSecurityException extends ElasticsearchStatusException
Generic security exception
See Also:
  • 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