com.softicar.platform.common.core.exceptions.SofticarUserException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of platform-common Show documentation
Show all versions of platform-common Show documentation
The SoftiCAR Platform is a lightweight, Java-based library to create interactive business web applications.
package com.softicar.platform.common.core.exceptions;
import com.softicar.platform.common.core.i18n.IDisplayString;
/**
* This exception should be thrown on user errors, e.g. input errors.
*
* Error messages shown to users should be localized and translated, that is why
* this class only takes {@link IDisplayString}.
*
* @author Oliver Richers
*/
public class SofticarUserException extends SofticarException {
private static final long serialVersionUID = 1L;
public SofticarUserException(IDisplayString message) {
super(message.toString());
}
public SofticarUserException(Throwable cause, IDisplayString message) {
super(cause, message.toString());
}
}