com.strider.datadefender.database.DatabaseException   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Test Coverage

Coverage 50%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 6
c 1
b 0
f 0
dl 0
loc 9
ccs 2
cts 4
cp 0.5
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A DatabaseException(String) 0 2 1
A DatabaseException(String,Throwable) 0 2 1
1
/*
2
 * Copyright 2014, Armenak Grigoryan, and individual contributors as indicated
3
 * by the @authors tag. See the copyright.txt in the distribution for a
4
 * full listing of individual contributors.
5
 *
6
 * This is free software; you can redistribute it and/or modify it
7
 * under the terms of the GNU Lesser General Public License as
8
 * published by the Free Software Foundation; either version 2.1 of
9
 * the License, or (at your option) any later version.
10
 *
11
 * This software 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 GNU
14
 * Lesser General Public License for more details.
15
 *
16
 */
17
package com.strider.datadefender.database;
18
19
import com.strider.datadefender.DataDefenderException;
20
21
/**
22
 * Package level exception. Extends application level exception.
23
 * @author Armenak Grigoryan
24
 */
25
public class DatabaseException extends DataDefenderException {
26
    private static final long serialVersionUID = 1L;
27
28
    public DatabaseException(final String msg) {
29
        super(msg);
30
    }
31
32 1
    public DatabaseException(final String msg, final Throwable t) {
33 1
        super(msg, t);
34
    }
35
}
36