com.softicar.platform.common.core.java.code.validation.JavaCodeValidationException 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.java.code.validation;
import com.softicar.platform.common.core.java.code.validator.IJavaCodeValidator;
/**
* Dedicated exception to be thrown by {@link IJavaCodeValidator}.
*
* This exception should be thrown by {@link IJavaCodeValidator} for all
* well-defined validation failures. Only the exception message is shown to the
* user, since the stack trace is assumed to be irrelevant.
*
* @author Oliver Richers
*/
public class JavaCodeValidationException extends RuntimeException {
public JavaCodeValidationException(String message, Object...arguments) {
super(String.format(message, arguments));
}
}