1 package cz.cuni.amis.pogamut.sposh.exceptions; 2 3 /** 4 * This exception is thrown when string passed to the method is not in the 5 * expected format. 6 * 7 * @author Honza Havlicek 8 */ 9 public class InvalidFormatException extends Exception { 10 11 public InvalidFormatException(String message, Throwable cause) { 12 super(message, cause); 13 } 14 15 public InvalidFormatException(String message) { 16 super(message); 17 } 18 }