Class InvalidTypeException

  • All Implemented Interfaces:
    java.io.Serializable

    @AlfrescoPublicApi
    public class InvalidTypeException
    extends InvalidClassException
    Thrown when an operation cannot be performed because a type is not recognised by the data dictionary
    Author:
    Derek Hulley
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      QName getTypeName()  
      • 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

      • 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