Package nzilbb.ag
Class TransformationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- nzilbb.ag.TransformationException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InvalidConfigurationException
public class TransformationException extends Exception
An exception ocurring during a graph transformation.- Author:
- Robert Fromont robert@fromont.net.nz
- See Also:
IGraphTransformer
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TransformationException(GraphTransformer transformer)
Constructor.TransformationException(GraphTransformer transformer, String message)
Constructor with message.TransformationException(GraphTransformer transformer, String message, Throwable cause)
Constructor with message and cause.TransformationException(GraphTransformer transformer, Throwable cause)
Constructor with cause.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphTransformer
getTransformer()
Getter fortransformer
: The transformer rasing the exception.TransformationException
setTransformer(GraphTransformer newTransformer)
Setter fortransformer
: The transformer rasing the exception.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
TransformationException
public TransformationException(GraphTransformer transformer)
Constructor.- Parameters:
transformer
- The transformer rasing the exception.
-
TransformationException
public TransformationException(GraphTransformer transformer, String message)
Constructor with message.- Parameters:
transformer
- The transformer rasing the exception.message
- The error message.
-
TransformationException
public TransformationException(GraphTransformer transformer, Throwable cause)
Constructor with cause.- Parameters:
transformer
- The transformer rasing the exception.cause
- The root cause of the error.
-
TransformationException
public TransformationException(GraphTransformer transformer, String message, Throwable cause)
Constructor with message and cause.- Parameters:
transformer
- The transformer rasing the exception.message
- The error message.cause
- The root cause of the error.
-
-
Method Detail
-
getTransformer
public GraphTransformer getTransformer()
Getter fortransformer
: The transformer rasing the exception.- Returns:
- The transformer rasing the exception.
-
setTransformer
public TransformationException setTransformer(GraphTransformer newTransformer)
Setter fortransformer
: The transformer rasing the exception.- Parameters:
newTransformer
- The transformer rasing the exception.
-
-