info.bliki.wiki.template.dates.StringToTimeException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bliki-core Show documentation
Show all versions of bliki-core Show documentation
This is the core project.
The newest version!
package info.bliki.wiki.template.dates;
/**
*
*
* Copied from github.com/collegeman/stringtotime
*
*/
public class StringToTimeException extends RuntimeException {
private static final long serialVersionUID = -3777846121104246071L;
public StringToTimeException(Object dateTimeString) {
super(String.format("Failed to parse [%s] into a java.util.Date", dateTimeString));
}
public StringToTimeException(Object dateTimeString, Throwable cause) {
super(String.format("Failed to parse [%s] into a java.util.Date", dateTimeString), cause);
}
}