com.strider.datadefender.DataDefenderException   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Test Coverage

Coverage 50%

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A DataDefenderException(String,Throwable) 0 2 1
A DataDefenderException(String) 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
package com.strider.datadefender;
17
18
/**
19
 * Application-level exception.
20
 *
21
 * @author Armenak Grigoryan
22
 */
23
public class DataDefenderException extends Exception {
24
25
    private static final long serialVersionUID = 1L;
26
27
    public DataDefenderException(final String msg) {
28
        super(msg);
29
    }
30
31 1
    public DataDefenderException(final String msg, final Throwable t) {
32 1
        super(msg, t);
33
    }
34
}
35