org.alfresco.service.cmr.dictionary
Class InvalidAspectException

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.InvalidAspectException
All Implemented Interfaces:
java.io.Serializable

public class InvalidAspectException
extends InvalidClassException

Thrown when a reference to an aspect is incorrect.

See Also:
Serialized Form

Constructor Summary
InvalidAspectException(QName aspectName)
           
InvalidAspectException(java.lang.String msg, QName aspectName)
           
 
Method Summary
 QName getAspectName()
           
 
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

InvalidAspectException

public InvalidAspectException(QName aspectName)

InvalidAspectException

public InvalidAspectException(java.lang.String msg,
                              QName aspectName)
Method Detail

getAspectName

public QName getAspectName()
Returns:
Returns the offending aspect name


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