public class ValidationEventImpl extends Object implements ValidationEvent
ERROR, FATAL_ERROR, WARNING
Constructor and Description |
---|
ValidationEventImpl(int severity,
String message,
ValidationEventLocator locator) |
ValidationEventImpl(int severity,
String message,
ValidationEventLocator locator,
Throwable linkedException) |
Modifier and Type | Method and Description |
---|---|
Throwable |
getLinkedException() |
ValidationEventLocator |
getLocator() |
String |
getMessage() |
int |
getSeverity() |
void |
setLinkedException(Throwable linkedException) |
void |
setLocator(ValidationEventLocator locator) |
void |
setMessage(String message) |
void |
setSeverity(int severity) |
String |
toString() |
public ValidationEventImpl(int severity, String message, ValidationEventLocator locator)
public ValidationEventImpl(int severity, String message, ValidationEventLocator locator, Throwable linkedException)
public int getSeverity()
getSeverity
in interface ValidationEvent
public void setSeverity(int severity)
public String getMessage()
getMessage
in interface ValidationEvent
public void setMessage(String message)
public Throwable getLinkedException()
getLinkedException
in interface ValidationEvent
public void setLinkedException(Throwable linkedException)
public ValidationEventLocator getLocator()
getLocator
in interface ValidationEvent
public void setLocator(ValidationEventLocator locator)
Copyright © 2013. All rights reserved.