org.alfresco.service.cmr.rendition
Class RenditionServiceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.alfresco.error.AlfrescoRuntimeException
                  extended by org.alfresco.service.cmr.rendition.RenditionServiceException
All Implemented Interfaces:
java.io.Serializable

public class RenditionServiceException
extends org.alfresco.error.AlfrescoRuntimeException

Rendition Service Exception Class

See Also:
Serialized Form

Constructor Summary
RenditionServiceException(java.lang.String message)
          Constructs a Rendition Service Exception with the specified message.
RenditionServiceException(java.lang.String message, RenditionDefinition renditionDefinition)
          Constructs a Rendition Service Exception with the specified message and RenditionDefinition.
RenditionServiceException(java.lang.String message, RenditionDefinition renditionDefinition, java.lang.Throwable source)
          Constructs a Rendition Service Exception with the specified message, RenditionDefinition and source exception .
RenditionServiceException(java.lang.String message, java.lang.Throwable source)
          Constructs a Rendition Service Exception with the specified message and source exception.
 
Method Summary
 RenditionDefinition getRenditionDefinition()
          Retrieves the RenditionDefinition associated with this exception.
 
Methods inherited from class org.alfresco.error.AlfrescoRuntimeException
create, create, getMsgId, getMsgParams, makeRuntimeException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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

RenditionServiceException

public RenditionServiceException(java.lang.String message)
Constructs a Rendition Service Exception with the specified message.

Parameters:
message - the message string

RenditionServiceException

public RenditionServiceException(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

RenditionServiceException

public RenditionServiceException(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.
Since:
3.5.0

RenditionServiceException

public RenditionServiceException(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.
Since:
3.5.0
Method Detail

getRenditionDefinition

public RenditionDefinition getRenditionDefinition()
Retrieves the RenditionDefinition associated with this exception.

Returns:
the rendition definition, which may be null.
Since:
3.5.0


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.