Skip to content

Commit 28c2714

Browse files
committed
review comments++
review comments++
1 parent 32736fc commit 28c2714

File tree

2 files changed

+1
-39
lines changed

2 files changed

+1
-39
lines changed

data-mapper/src/main/java/com/iluwatar/datamapper/DataMapperException.java

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,6 @@ public final class DataMapperException extends RuntimeException {
2929

3030
private static final long serialVersionUID = 1L;
3131

32-
/**
33-
* Constructs a new runtime exception with {@code null} as its detail message. The cause is not
34-
* initialized, and may subsequently be initialized by a call to {@link #initCause}.
35-
*/
36-
public DataMapperException() {
37-
super();
38-
}
39-
40-
4132
/**
4233
* Constructs a new runtime exception with the specified detail message. The cause is not
4334
* initialized, and may subsequently be initialized by a call to {@link #initCause}.
@@ -48,34 +39,4 @@ public DataMapperException() {
4839
public DataMapperException(final String message) {
4940
super(message);
5041
}
51-
52-
/**
53-
* Constructs a new runtime exception with the specified detail message and cause.
54-
* <p>
55-
* Note that the detail message associated with {@code cause} is <i>not</i> automatically
56-
* incorporated in this runtime exception's detail message.
57-
*
58-
* @param message the detail message (which is saved for later retrieval by the
59-
* {@link #getMessage()} method).
60-
* @param cause the cause (which is saved for later retrieval by the {@link #getCause()} method).
61-
* (A <tt>null</tt> value is permitted, and indicates that the cause is nonexistent or
62-
* unknown.)
63-
*/
64-
public DataMapperException(final String message, final Throwable cause) {
65-
super(message, cause);
66-
}
67-
68-
/**
69-
* Constructs a new runtime exception with the specified cause and a detail message of
70-
* <tt>(cause==null ? null : cause.toString())</tt> (which typically contains the class and detail
71-
* message of <tt>cause</tt>). This constructor is useful for runtime exceptions that are little
72-
* more than wrappers for other throwables.
73-
*
74-
* @param cause the cause (which is saved for later retrieval by the {@link #getCause()} method).
75-
* (A <tt>null</tt> value is permitted, and indicates that the cause is nonexistent or
76-
* unknown.)
77-
*/
78-
public DataMapperException(final Throwable cause) {
79-
super(cause);
80-
}
8142
}

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
<module>bridge</module>
6262
<module>composite</module>
6363
<module>dao</module>
64+
<module>data-mapper</module>
6465
<module>decorator</module>
6566
<module>facade</module>
6667
<module>flyweight</module>

0 commit comments

Comments
 (0)