dk.brics.xact.analysis
Class ErrorReport
java.lang.Object
dk.brics.xact.analysis.ErrorReport
- All Implemented Interfaces:
- Serializable
public class ErrorReport
- extends Object
- implements Serializable
Describes an error reported by the XML analysis.
- See Also:
- Serialized Form
ErrorReport
public ErrorReport(Origin origin,
ErrorType type,
String message)
ErrorReport
public ErrorReport(Throwable throwable)
getMessage
public String getMessage()
getOrigin
public Origin getOrigin()
getThrowable
public Throwable getThrowable()
getType
public ErrorType getType()
hasOrigin
public boolean hasOrigin()
setMessage
public void setMessage(String message)
setOrigin
public void setOrigin(Origin origin)
setThrowable
public void setThrowable(Throwable throwable)
setType
public void setType(ErrorType type)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2005-2011 Aarhus University.