public class AccessDeniedException extends PrestoException
| Constructor and Description |
|---|
AccessDeniedException(String message) |
| Modifier and Type | Method and Description |
|---|---|
static void |
denyAddColumn(String tableName) |
static void |
denyAddColumn(String tableName,
String extraInfo) |
static void |
denyCreateTable(String tableName) |
static void |
denyCreateTable(String tableName,
String extraInfo) |
static void |
denyCreateView(String viewName) |
static void |
denyCreateView(String viewName,
String extraInfo) |
static void |
denyDeleteTable(String tableName) |
static void |
denyDeleteTable(String tableName,
String extraInfo) |
static void |
denyDropTable(String tableName) |
static void |
denyDropTable(String tableName,
String extraInfo) |
static void |
denyDropView(String viewName) |
static void |
denyDropView(String viewName,
String extraInfo) |
static void |
denyGrantTablePrivilege(String privilege,
String tableName) |
static void |
denyGrantTablePrivilege(String privilege,
String tableName,
String extraInfo) |
static void |
denyInsertTable(String tableName) |
static void |
denyInsertTable(String tableName,
String extraInfo) |
static void |
denyRenameColumn(String tableName) |
static void |
denyRenameColumn(String tableName,
String extraInfo) |
static void |
denyRenameTable(String tableName,
String newTableName) |
static void |
denyRenameTable(String tableName,
String newTableName,
String extraInfo) |
static void |
denySelectTable(String tableName) |
static void |
denySelectTable(String tableName,
String extraInfo) |
static void |
denySelectView(String viewName) |
static void |
denySelectView(String viewName,
String extraInfo) |
static void |
denySetCatalogSessionProperty(String catalogName,
String propertyName) |
static void |
denySetCatalogSessionProperty(String catalogName,
String propertyName,
String extraInfo) |
static void |
denySetSystemSessionProperty(String propertyName) |
static void |
denySetSystemSessionProperty(String propertyName,
String extraInfo) |
static void |
denySetUser(Principal principal,
String userName) |
static void |
denySetUser(Principal principal,
String userName,
String extraInfo) |
getErrorCode, getMessageaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AccessDeniedException(String message)
public static void denyCreateTable(String tableName)
public static void denyDropTable(String tableName)
public static void denyRenameTable(String tableName, String newTableName, String extraInfo)
public static void denyAddColumn(String tableName)
public static void denyRenameColumn(String tableName)
public static void denySelectTable(String tableName)
public static void denyInsertTable(String tableName)
public static void denyDeleteTable(String tableName)
public static void denyCreateView(String viewName)
public static void denyDropView(String viewName)
public static void denySelectView(String viewName)
public static void denyGrantTablePrivilege(String privilege, String tableName)
public static void denyGrantTablePrivilege(String privilege, String tableName, String extraInfo)
public static void denySetSystemSessionProperty(String propertyName)
public static void denySetSystemSessionProperty(String propertyName, String extraInfo)
public static void denySetCatalogSessionProperty(String catalogName, String propertyName)
Copyright © 2012-2016. All Rights Reserved.