Class DbAclUncheckedException

All Implemented Interfaces:
DeephavenAclRestApiError, Serializable

public class DbAclUncheckedException extends UncheckedDeephavenException implements DeephavenAclRestApiError
Known error conditions raised as unchecked exceptions while processing Acl Rest Api will throw this error. The error implements DeephavenAclRestApiError that allows customized audit information to be captured
See Also:
  • Constructor Details

    • DbAclUncheckedException

      public DbAclUncheckedException(@NotNull io.deephaven.shadow.resteasy.javax.ws.rs.core.Response.Status responseStatus, String commandName, String commandDetails)
      Constructs a new exception with null as its detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable).
      Parameters:
      responseStatus - The Response status that will be propagated to clients
      commandName - The failed command name for audit logs
      commandDetails - Details related to the error for audit logs
    • DbAclUncheckedException

      public DbAclUncheckedException(@NotNull String reason, @NotNull io.deephaven.shadow.resteasy.javax.ws.rs.core.Response.Status responseStatus, String commandName, String commandDetails)
      Constructor that supports taking a detailed message describing the error. See RuntimeException(String)
      Parameters:
      reason - A detailed message describing the error.
      responseStatus - The Response status that will be propagated to clients
      commandName - Optional failed command name for audit logs
      commandDetails - Optional details related to the error for audit logs
    • DbAclUncheckedException

      public DbAclUncheckedException(@Nullable Throwable cause, @NotNull io.deephaven.shadow.resteasy.javax.ws.rs.core.Response.Status responseStatus, String commandName, String commandDetails)
      Constructor that builds a DbAclUncheckedException using the specified cause. See RuntimeException(Throwable)
      Parameters:
      cause - The passed in cause.
      responseStatus - The Response status that will be propagated to clients
      commandName - Optional failed command name for audit logs
      commandDetails - Optional details related to the error for audit logs
    • DbAclUncheckedException

      public DbAclUncheckedException(@NotNull String reason, @Nullable Throwable cause, @NotNull io.deephaven.shadow.resteasy.javax.ws.rs.core.Response.Status responseStatus, @Nullable String commandName, @Nullable String commandDetails)
      Constructor that builds a DbAclUncheckedException using the passed in message and optional cause. See RuntimeException(String, Throwable)
      Parameters:
      reason - The passed in message detailing the error
      cause - Optional cause, null would indicate the error is unknown
      responseStatus - The Response status that will be propagated to clients
      commandName - Optional failed command name for audit logs
      commandDetails - Optional details related to the error for audit logs
    • DbAclUncheckedException

      public DbAclUncheckedException(@NotNull String message, @Nullable Throwable cause, boolean enableSuppression, boolean writableStackTrace, @NotNull io.deephaven.shadow.resteasy.javax.ws.rs.core.Response.Status responseStatus, String commandName, String commandDetails)
      Constructor that builds a DbAclUncheckedException using the passed in message, optional cause, suppression indicator and writable stacktrace flag. See RuntimeException(String, Throwable, boolean, boolean)
      Parameters:
      message - The passed in message detailing the error
      cause - Optional cause, null would indicate the error is unknown
      enableSuppression - Boolean that indicates suppression is enabled or disabled
      writableStackTrace - Boolean that indicates if stacktrace is writable
      responseStatus - The Response status that will be propagated to clients
      commandName - Optional failed command name for audit logs
      commandDetails - Optional details related to the error for audit logs
  • Method Details