org.alfresco.service.cmr.dictionary
Class InvalidTypeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.alfresco.error.AlfrescoRuntimeException
                  extended by org.alfresco.service.cmr.dictionary.InvalidClassException
                      extended by org.alfresco.service.cmr.dictionary.InvalidTypeException
All Implemented Interfaces:
java.io.Serializable

public class InvalidTypeException
extends InvalidClassException

Thrown when an operation cannot be performed because a type is not recognised by the data dictionary

See Also:
Serialized Form

Constructor Summary
InvalidTypeException(QName typeName)
           
InvalidTypeException(java.lang.String msg, QName typeName)
           
 
Method Summary
 QName getTypeName()
           
 
Methods inherited from class org.alfresco.service.cmr.dictionary.InvalidClassException
getClassName
 
Methods inherited from class org.alfresco.error.AlfrescoRuntimeException
create, create, getMsgId, getMsgParams, makeRuntimeException
 
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

InvalidTypeException

public InvalidTypeException(QName typeName)

InvalidTypeException

public InvalidTypeException(java.lang.String msg,
                            QName typeName)
Method Detail

getTypeName

public QName getTypeName()
Returns:
Returns the offending type name


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.