|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.opends.server.types.OpenDsException
org.opends.server.admin.AdminException
org.opends.server.admin.OperationsException
org.opends.server.admin.client.IllegalManagedObjectNameException
public class IllegalManagedObjectNameException
Thrown when an attempt is made to create a new managed object with an illegal name.
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 Summary | |
|---|---|
IllegalManagedObjectNameException(java.lang.String illegalName)
Create a new illegal name exception and no naming property definition. |
|
IllegalManagedObjectNameException(java.lang.String illegalName,
PropertyDefinition<?> namingPropertyDefinition)
Create a new illegal name exception and a naming property definition. |
|
| Method Summary | |
|---|---|
java.lang.String |
getIllegalName()
Get the illegal managed object name. |
PropertyDefinition<?> |
getNamingPropertyDefinition()
Get the naming property definition if applicable. |
| Methods inherited from class org.opends.server.types.OpenDsException |
|---|
getMessageObject |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IllegalManagedObjectNameException(java.lang.String illegalName)
illegalName - The illegal managed object name.
public IllegalManagedObjectNameException(java.lang.String illegalName,
PropertyDefinition<?> namingPropertyDefinition)
illegalName - The illegal managed object name.namingPropertyDefinition - The naming property definition.| Method Detail |
|---|
public java.lang.String getIllegalName()
public PropertyDefinition<?> getNamingPropertyDefinition()
null
if none was specified.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||