All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fitnesse.slim.converters.LongConverter Maven / Gradle / Ivy

There is a newer version: 20241026
Show newest version
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);
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy