Class InvalidAspectException

  • All Implemented Interfaces:
    java.io.Serializable

    @AlfrescoPublicApi
    public class InvalidAspectException
    extends InvalidClassException
    Thrown when a reference to an aspect is incorrect.
    Author:
    Derek Hulley
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      QName getAspectName()  
      • Methods inherited from class org.alfresco.error.AlfrescoRuntimeException

        create, create, getMsgId, getMsgParams, getNumericalId, getRootCause, makeRuntimeException
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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