Class CDAContentTypeNotFoundException

  • All Implemented Interfaces:
    java.io.Serializable

    public class CDAContentTypeNotFoundException
    extends java.lang.RuntimeException
    RuntimeException indicating an entry linking to a non existing Content Type.

    A content type must be requestable from an entry in order to link the includes.

    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      CDAContentTypeNotFoundException​(java.lang.String resourceId, java.lang.Class<? extends CDAResource> resourceType, java.lang.String resourceTypeId, java.lang.Throwable throwable)
      Create a new exception.
    • Method Summary

      • 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

      • CDAContentTypeNotFoundException

        public CDAContentTypeNotFoundException​(java.lang.String resourceId,
                                               java.lang.Class<? extends CDAResource> resourceType,
                                               java.lang.String resourceTypeId,
                                               java.lang.Throwable throwable)
        Create a new exception.
        Parameters:
        resourceId - the actual id of the resource requested.
        resourceType - the type of the resource not found.
        resourceTypeId - the id of the content type not found.
        throwable - the cause of this exception.