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:
Serializable

public class RenditionPreventedException extends RenditionServiceException
This exception is thrown if an attempt is made to render a node which has a content class registered to prevent rendition.
Since:
4.0.1
Author:
Neil Mc Erlean
See Also:
  • Constructor Details

    • RenditionPreventedException

      public RenditionPreventedException(String message)
      Constructs a Rendition Service Exception with the specified message.
      Parameters:
      message - the message string
    • RenditionPreventedException

      public RenditionPreventedException(String message, Throwable source)
      Constructs a Rendition Service Exception with the specified message and source exception.
      Parameters:
      message - the message string
      source - the source exception
    • RenditionPreventedException

      public RenditionPreventedException(String message, RenditionDefinition renditionDefinition)
      Constructs a Rendition Service Exception with the specified message and RenditionDefinition.
      Parameters:
      message - the message string.
      renditionDefinition - the rendition definition.
    • RenditionPreventedException

      public RenditionPreventedException(String message, RenditionDefinition renditionDefinition, Throwable source)
      Constructs a Rendition Service Exception with the specified message, RenditionDefinition and source exception .
      Parameters:
      message - the message string.
      renditionDefinition - the rendition definition.
      source - the source exception.