initial commit
This commit is contained in:
28
src/nis/nms/exceptions/BusinessException.java
Normal file
28
src/nis/nms/exceptions/BusinessException.java
Normal file
@@ -0,0 +1,28 @@
|
||||
package nis.nms.exceptions;
|
||||
|
||||
/**
|
||||
* This exception is used to mark business rule violations.
|
||||
*
|
||||
* @author Christian Bauer <christian@hibernate.org>
|
||||
*/
|
||||
public class BusinessException extends RuntimeException {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1275639675329076996L;
|
||||
|
||||
public BusinessException() {}
|
||||
|
||||
public BusinessException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public BusinessException(String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
|
||||
public BusinessException(Throwable cause) {
|
||||
super(cause);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user