com.datastrato.gravitino.exceptions.RoleAlreadyExistsException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api Show documentation
Show all versions of api Show documentation
Gravitino is a high-performance, geo-distributed and federated metadata lake.
The newest version!
/*
* Copyright 2024 Datastrato Pvt Ltd.
* This software is licensed under the Apache License version 2.
*/
package com.datastrato.gravitino.exceptions;
import com.google.errorprone.annotations.FormatMethod;
import com.google.errorprone.annotations.FormatString;
/** Exception thrown when a role with specified name already exists. */
public class RoleAlreadyExistsException extends AlreadyExistsException {
/**
* Constructs a new exception with the specified detail message.
*
* @param message the detail message.
* @param args the arguments to the message.
*/
@FormatMethod
public RoleAlreadyExistsException(@FormatString String message, Object... args) {
super(message, args);
}
/**
* Constructs a new exception with the specified detail message and cause.
*
* @param cause the cause.
* @param message the detail message.
* @param args the arguments to the message.
*/
@FormatMethod
public RoleAlreadyExistsException(Throwable cause, @FormatString String message, Object... args) {
super(cause, message, args);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy