org.specrunner.util.xom.core
Class PresentationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.specrunner.util.xom.core.PresentationException
- All Implemented Interfaces:
- Serializable, IPresentation
public class PresentationException
- extends Exception
- implements IPresentation
Generic presentation wrapper of exceptions.
- Author:
- Thiago Santos
- See Also:
- Serialized Form
PresentationException
public PresentationException(IPresentation presentation)
- Set a presentation.
- Parameters:
presentation - A presentation object.
asString
public String asString()
- Description copied from interface:
IPresentation
- The object representation as string.
- Specified by:
asString in interface IPresentation
- Returns:
- String representation.
asNode
public nu.xom.Node asNode()
- Description copied from interface:
IPresentation
- The object representation as node.
- Specified by:
asNode in interface IPresentation
- Returns:
- Node representation.
getMessage
public String getMessage()
- Overrides:
getMessage in class Throwable
Copyright © 2014. All rights reserved.