class SubtaskIndexPathParameter extends MessagePathParameter<Integer> {

	@Override
	protected Integer convertFromString(final String value) throws ConversionException {
		final int subtaskIndex = Integer.parseInt(value);
		if (subtaskIndex >= 0) {
			return subtaskIndex;
		} else {
			throw new ConversionException("subtaskindex must be positive, was: " + subtaskIndex);
		}
	}

	public  SubtaskIndexPathParameter();

}