public class InvalidPermissionStringException extends ShiroException
PermissionResolver.resolvePermission(String)
when the String being parsed is not
valid for that resolver.Constructor and Description |
---|
InvalidPermissionStringException(String message,
String permissionString)
Constructs a new exception with the given message and permission string.
|
Modifier and Type | Method and Description |
---|---|
String |
getPermissionString()
Returns the permission string that was invalid and caused this exception to
be thrown.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidPermissionStringException(String message, String permissionString)
message
- the exception message.permissionString
- the invalid permission string.public String getPermissionString()
Copyright © 2004–2017 The Apache Software Foundation. All rights reserved.