public class IllegalManagedObjectNameException extends OperationsException
This exception can occur when a new managed object is given a name which is either an empty string, a string containing just white-spaces, or a string which is invalid according to the managed object's naming property (if it has one).
| Constructor and Description |
|---|
IllegalManagedObjectNameException(String illegalName)
Create a new illegal name exception and no naming property definition.
|
IllegalManagedObjectNameException(String illegalName,
PropertyDefinition<?> namingPropertyDefinition)
Create a new illegal name exception and a naming property definition.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getIllegalName()
Get the illegal managed object name.
|
PropertyDefinition<?> |
getNamingPropertyDefinition()
Get the naming property definition if applicable.
|
getMessageObjectaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic IllegalManagedObjectNameException(String illegalName)
illegalName - The illegal managed object name.public IllegalManagedObjectNameException(String illegalName, PropertyDefinition<?> namingPropertyDefinition)
illegalName - The illegal managed object name.namingPropertyDefinition - The naming property definition.public String getIllegalName()
public PropertyDefinition<?> getNamingPropertyDefinition()
null if none
was specified.Copyright © 2011-2015 ForgeRock AS. All Rights Reserved.