Package com.contentful.java.cda
Class CDAContentTypeNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.contentful.java.cda.CDAContentTypeNotFoundException
-
- All Implemented Interfaces:
java.io.Serializable
public class CDAContentTypeNotFoundException extends java.lang.RuntimeExceptionRuntimeException 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.
-
-
-
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.
-
-