Skip to content

Instantly share code, notes, and snippets.

@mccxj
Created July 13, 2009 09:14
Show Gist options
  • Save mccxj/146013 to your computer and use it in GitHub Desktop.
Save mccxj/146013 to your computer and use it in GitHub Desktop.
package auction.exceptions;
/**
* This exception is used to mark business rule violations.
*
* @author Christian Bauer
*/
public class BusinessException
extends RuntimeException {
public static final String ERROR_MSG = "business_error_msg";
public BusinessException() {}
public BusinessException(String message) {
super(message);
}
public BusinessException(String message, Throwable cause) {
super(message, cause);
}
public BusinessException(Throwable cause) {
super(cause);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment