package com.uc.cep.examples;
public class BadResult
{
private String testName;
private Exception exception;
public BadResult(String testName, Exception e)
{
super();
this.testName = testName;
this.exception = e;
}
public String getTestName()
{
return testName;
}
public void setTestName(String testName)
{
this.testName = testName;
}
public Exception getException()
{
return exception;
}
public void setException(Exception exception)
{
this.exception = exception;
}
@Override
public String toString()
{
return new StringBuilder("TestName:")
.append(testName)
.append(", Exception: ")
.append(exception)
.toString();
}
}
One the Job with Upton Consulting