Created
July 13, 2009 09:14
-
-
Save mccxj/146013 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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