KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > ce > auction > exceptions > BusinessException


1 package org.hibernate.ce.auction.exceptions;
2
3 /**
4  * This exception is used to mark business rule violations.
5  *
6  * @author Christian Bauer <christian@hibernate.org>
7  */

8 public class BusinessException
9     extends RuntimeException JavaDoc {
10
11     public BusinessException() {}
12
13     public BusinessException(String JavaDoc message) {
14         super(message);
15     }
16
17     public BusinessException(String JavaDoc message, Throwable JavaDoc cause) {
18         super(message, cause);
19     }
20
21     public BusinessException(Throwable JavaDoc cause) {
22         super(cause);
23     }
24 }
25
Popular Tags