org.alfresco.repo.content.transform
Class TransformerInfoException

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.repo.content.transform.TransformerInfoException
All Implemented Interfaces:
java.io.Serializable

public class TransformerInfoException
extends org.alfresco.error.AlfrescoRuntimeException

Wraps an exception that could be thrown in any transformer to propagate it up to NodeInfoBean.sendNodeInfo method. NodeInfoBean can handle this exception to display it in NodeInfo frame to avoid error message box with "Exception in Transaction" message. See PoiHssfContentTransformer for pattern.

See Also:
Serialized Form

Constructor Summary
TransformerInfoException(java.lang.String msg)
           
TransformerInfoException(java.lang.String msg, java.lang.Throwable err)
           
 
Method Summary
 
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

TransformerInfoException

public TransformerInfoException(java.lang.String msg)

TransformerInfoException

public TransformerInfoException(java.lang.String msg,
                                java.lang.Throwable err)


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