1 package org.hyphenType.lexerparser.exceptions;
2
3 import org.hyphenType.datastructure.Options;
4
5
6
7
8
9
10
11 public class StringParsingErrorException extends OptionValuesException {
12
13 private static final long serialVersionUID = -8487820729585487956L;
14
15 public static final String DEFAULT_PATTERN = "Could not parse input \"%s\" to the type %s.";
16
17 public StringParsingErrorException(Throwable cause, Class<? extends Options<?>> optionsInterface, String input, Class<?> type) {
18 super(cause, optionsInterface, DEFAULT_PATTERN, input, type.getName());
19 }
20 }