fitnesse.slim.converters.LongConverter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fitnesse Show documentation
Show all versions of fitnesse Show documentation
The fully integrated standalone wiki, and acceptance testing framework.
package fitnesse.slim.converters;
import fitnesse.slim.SlimError;
public class LongConverter extends ConverterBase {
@Override
protected Long getObject(String arg) {
try {
return Long.valueOf(arg);
} catch (NumberFormatException e) {
throw new SlimError(String.format("message:<>", arg), e);
}
}
}