All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.faunadb.client.errors.PermissionDeniedException Maven / Gradle / Ivy

The newest version!
package com.faunadb.client.errors;

import java.util.List;

/**
 * An exception thrown if a HTTP 403 (Forbidden) is returned from FaunaDB.
 */
public class PermissionDeniedException extends FaunaException {

  public PermissionDeniedException(String message, int httpStatusCode, List position) {
    super(message, httpStatusCode, position);
  }

  @Override
  public CoreExceptionCodes code() {
    return CoreExceptionCodes.PERMISSION_DENIED;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy