Revision 26755
trunk/libraries/libGDBMS/src/main/java/com/hardcode/gdbms/driver/exceptions/WriteDriverException.java | ||
---|---|---|
12 | 12 |
public WriteDriverException(String driver,Throwable exception) { |
13 | 13 |
this.driver = driver; |
14 | 14 |
init(); |
15 |
initCause(exception); |
|
15 |
if (exception != null){ |
|
16 |
initCause(exception); |
|
17 |
} |
|
16 | 18 |
} |
17 | 19 |
|
18 | 20 |
private void init() { |
trunk/libraries/libGDBMS/src/main/java/com/hardcode/gdbms/driver/exceptions/ReadDriverException.java | ||
---|---|---|
12 | 12 |
public ReadDriverException(String driver,Throwable exception) { |
13 | 13 |
this.driver = driver; |
14 | 14 |
init(); |
15 |
initCause(exception); |
|
15 |
if (exception != null){ |
|
16 |
initCause(exception); |
|
17 |
} |
|
16 | 18 |
} |
17 | 19 |
|
18 | 20 |
private void init() { |
trunk/libraries/libGDBMS/src/main/java/com/hardcode/gdbms/driver/exceptions/SchemaEditionException.java | ||
---|---|---|
12 | 12 |
public SchemaEditionException(String driver,Throwable exception) { |
13 | 13 |
this.driver = driver; |
14 | 14 |
init(); |
15 |
initCause(exception); |
|
15 |
if (exception != null){ |
|
16 |
initCause(exception); |
|
17 |
} |
|
16 | 18 |
} |
17 | 19 |
|
18 | 20 |
private void init() { |
Also available in: Unified diff