Class CDAResourceNotFoundException

  • All Implemented Interfaces:
    java.io.Serializable

    public class CDAResourceNotFoundException
    extends java.lang.RuntimeException
    RuntimeException indicating a resource was not found on Contentful.
    See Also:
    Serialized Form
    • 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

      • CDAResourceNotFoundException

        public CDAResourceNotFoundException​(java.lang.Class<? extends CDAResource> resourceType,
                                            java.lang.String resourceId)
        Create a new exception
        Parameters:
        resourceType - the type of the resource not found (Entry,Asset,Space)
        resourceId - the actual id of the resource not found.