Class RenditionPreventedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.alfresco.error.AlfrescoRuntimeException
-
- org.alfresco.service.cmr.rendition.RenditionServiceException
-
- org.alfresco.service.cmr.rendition.RenditionPreventedException
-
- All Implemented Interfaces:
java.io.Serializable
public class RenditionPreventedException extends RenditionServiceException
This exception is thrown if an attempt is made to render a node which has acontent classregistered to prevent rendition.- Since:
- 4.0.1
- Author:
- Neil Mc Erlean
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RenditionPreventedException(java.lang.String message)Constructs a Rendition Service Exception with the specified message.RenditionPreventedException(java.lang.String message, java.lang.Throwable source)Constructs a Rendition Service Exception with the specified message and source exception.RenditionPreventedException(java.lang.String message, RenditionDefinition renditionDefinition)Constructs a Rendition Service Exception with the specified message andRenditionDefinition.RenditionPreventedException(java.lang.String message, RenditionDefinition renditionDefinition, java.lang.Throwable source)Constructs a Rendition Service Exception with the specified message,RenditionDefinitionand source exception .
-
Method Summary
-
Methods inherited from class org.alfresco.service.cmr.rendition.RenditionServiceException
getRenditionDefinition
-
Methods inherited from class org.alfresco.error.AlfrescoRuntimeException
create, create, getMsgId, getMsgParams, getNumericalId, getRootCause, makeRuntimeException
-
-
-
-
Constructor Detail
-
RenditionPreventedException
public RenditionPreventedException(java.lang.String message)
Constructs a Rendition Service Exception with the specified message.- Parameters:
message- the message string
-
RenditionPreventedException
public RenditionPreventedException(java.lang.String message, java.lang.Throwable source)Constructs a Rendition Service Exception with the specified message and source exception.- Parameters:
message- the message stringsource- the source exception
-
RenditionPreventedException
public RenditionPreventedException(java.lang.String message, RenditionDefinition renditionDefinition)Constructs a Rendition Service Exception with the specified message andRenditionDefinition.- Parameters:
message- the message string.renditionDefinition- the rendition definition.
-
RenditionPreventedException
public RenditionPreventedException(java.lang.String message, RenditionDefinition renditionDefinition, java.lang.Throwable source)Constructs a Rendition Service Exception with the specified message,RenditionDefinitionand source exception .- Parameters:
message- the message string.renditionDefinition- the rendition definition.source- the source exception.
-
-