HammurapiException.java


Package: org.hammurapi

Results
Date2007/07/27
Codebase219
Reviews327
DPMO642
Sigma4.719

Metrics
NameNumberMinAvgMaxTotal
Class complexity14.004.004.004.00
Code length41.001.001.004.00
File length169.0069.0069.0069.00
Operation complexity41.001.001.004.00
Work order164.6064.6064.6064.60

Violations
#LineColumnNameSeverityDescription
1241ER-0233Packages should begin with []
2331ER-0492Unify logging strategy - define individual logger for class
3389ER-1132Unused private/local variables

JavaDoc
HammurapiException

1/*
2 * Hammurapi
3 * Automated Java code review system.
4 * Copyright (C) 2004 Hammurapi Group
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 *
20 * URL: http://www.hammurapi.org
21 * e-Mail: support@hammurapi.biz
22 */

23
24package org.hammurapi;
25
26import com.pavelvlasov.Exception;
27
28/**
29 *
30 * @author Pavel Vlasov
31 * @version $Revision: 1.2 $
32 */

33public class HammurapiException extends Exception {
34
35 /**
36 * Comment for <code>serialVersionUID</code>
37 */

38 private static final long serialVersionUID = -4966697008538116437L;
39
40 /**
41 *
42 */

43 public HammurapiException() {
44 super();
45 }
46
47 /**
48 * @param message
49 */

50 public HammurapiException(String message) {
51 super(message);
52 }
53
54 /**
55 * @param message
56 * @param cause
57 */

58 public HammurapiException(String message, Throwable cause) {
59 super(message, cause);
60 }
61
62 /**
63 * @param cause
64 */

65 public HammurapiException(Throwable cause) {
66 super(cause);
67 }
68}
69
70

Hammurapi 3 Copyright © 2004 Hammurapi Group. All Rights Reserved.