Class 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 a content class registered to prevent rendition.
    Since:
    4.0.1
    Author:
    Neil Mc Erlean
    See Also:
    Serialized Form
    • Method Summary

      • Methods inherited from class org.alfresco.error.AlfrescoRuntimeException

        create, create, getMsgId, getMsgParams, getNumericalId, getRootCause, makeRuntimeException
      • 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

      • 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 string
        source - the source exception
      • RenditionPreventedException

        public RenditionPreventedException​(java.lang.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​(java.lang.String message,
                                           RenditionDefinition renditionDefinition,
                                           java.lang.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.