org.ikasan.framework.component.transformation
Class TrivialTransformerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.xml.transform.TransformerException
              extended by org.ikasan.framework.component.transformation.TrivialTransformerException
All Implemented Interfaces:
Serializable

public class TrivialTransformerException
extends TransformerException

This class extends the TransformerException. It will be used for throwing exceptions that can subsequently be ignored (i.e. no severe measures required for the exception)

Author:
Ikasan Development Team
See Also:
Serialized Form

Constructor Summary
TrivialTransformerException(String message)
          Create a new TrivialTransformerException.
TrivialTransformerException(String message, SourceLocator locator)
          Create a new TrivialTransformerException from a message and a Locator.
TrivialTransformerException(String message, SourceLocator locator, Throwable ex)
          Wrap an existing exception in a TrivialTransformerException.
TrivialTransformerException(String message, Throwable ex)
          Wrap an existing exception in a TrivialTransformerException.
TrivialTransformerException(Throwable ex)
          Create a new TrivialTransformerException wrapping an existing exception.
 
Method Summary
 
Methods inherited from class javax.xml.transform.TransformerException
getCause, getException, getLocationAsString, getLocator, getMessageAndLocation, initCause, printStackTrace, printStackTrace, printStackTrace, setLocator
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TrivialTransformerException

public TrivialTransformerException(String message)
Create a new TrivialTransformerException.

Parameters:
message - - The error or warning message.

TrivialTransformerException

public TrivialTransformerException(Throwable ex)
Create a new TrivialTransformerException wrapping an existing exception.

Parameters:
ex - - The exception to be wrapped.

TrivialTransformerException

public TrivialTransformerException(String message,
                                   Throwable ex)
Wrap an existing exception in a TrivialTransformerException. This is used for throwing processor exceptions before the processing has started.

Parameters:
message - - The error or warning message, or null to use the message from the embedded exception.
ex - - Any exception.

TrivialTransformerException

public TrivialTransformerException(String message,
                                   SourceLocator locator)
Create a new TrivialTransformerException from a message and a Locator. This constructor is especially useful when an application is creating its own exception from within a DocumentHandler callback.

Parameters:
message - - The error or warning message.
locator - - The locator object for the error or warning.

TrivialTransformerException

public TrivialTransformerException(String message,
                                   SourceLocator locator,
                                   Throwable ex)
Wrap an existing exception in a TrivialTransformerException.

Parameters:
message - - The error or warning message, or null to use the message from the embedded exception.
locator - - The locator object for the error or warning.
ex - - Any exception.


Copyright © 2007-2012 Ikasan. All Rights Reserved.