public class AuthorizationExceptionDto extends ExceptionDto
Dto for AuthorizationException
Modifier and Type | Field and Description |
---|---|
protected String |
permissionName |
protected String |
resourceId |
protected String |
resourceName |
protected String |
userId |
message, type
Constructor and Description |
---|
AuthorizationExceptionDto() |
Modifier and Type | Method and Description |
---|---|
static AuthorizationExceptionDto |
fromException(AuthorizationException e) |
String |
getPermissionName() |
String |
getResourceId() |
String |
getResourceName() |
String |
getUserId() |
void |
setPermissionName(String permissionName) |
void |
setResourceId(String resourceId) |
void |
setResourceName(String resourceName) |
void |
setUserId(String userId) |
fromException, getMessage, getType, setMessage, setType
protected String userId
protected String resourceName
protected String resourceId
protected String permissionName
public static AuthorizationExceptionDto fromException(AuthorizationException e)
public String getResourceName()
public void setResourceName(String resourceName)
public String getResourceId()
public void setResourceId(String resourceId)
public String getPermissionName()
public void setPermissionName(String permissionName)
public String getUserId()
public void setUserId(String userId)
Copyright © 2015. All rights reserved.