Class OpenSearchSecurityException

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

public class OpenSearchSecurityException extends OpenSearchStatusException
Generic security exception
See Also:
Opensearch.internal:
  • Constructor Details

    • OpenSearchSecurityException

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

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

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

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

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