@@ -75,10 +75,7 @@ public EidRuntimeException(CharSequence eid) {
7575 * @param message the detail message. The detail message is saved for
7676 * later retrieval by the {@link #getMessage()} method.
7777 */
78- public EidRuntimeException (
79- CharSequence eid ,
80- String message
81- ) {
78+ public EidRuntimeException (CharSequence eid , String message ) {
8279 this (new Eid (eid ), message );
8380 }
8481
@@ -91,9 +88,7 @@ public EidRuntimeException(
9188 * @param message the Eid message. The detail message is saved for
9289 * later retrieval by the {@link #getMessage()} method.
9390 */
94- public EidRuntimeException (
95- EidMessage message
96- ) {
91+ public EidRuntimeException (EidMessage message ) {
9792 super (message .toString ());
9893 this .eid = message .getEid ();
9994 }
@@ -115,11 +110,7 @@ public EidRuntimeException(
115110 * permitted, and indicates that the cause is nonexistent or
116111 * unknown.)
117112 */
118- public EidRuntimeException (
119- CharSequence eid ,
120- String message ,
121- @ Nullable Throwable cause
122- ) {
113+ public EidRuntimeException (CharSequence eid , String message , @ Nullable Throwable cause ) {
123114 this (new Eid (eid ), message , cause );
124115 }
125116
@@ -139,10 +130,7 @@ public EidRuntimeException(
139130 * permitted, and indicates that the cause is nonexistent or
140131 * unknown.)
141132 */
142- public EidRuntimeException (
143- EidMessage message ,
144- @ Nullable Throwable cause
145- ) {
133+ public EidRuntimeException (EidMessage message , @ Nullable Throwable cause ) {
146134 this (message .getEid (), message .toString (), cause );
147135 }
148136
@@ -163,10 +151,7 @@ public EidRuntimeException(
163151 * permitted, and indicates that the cause is nonexistent or
164152 * unknown.)
165153 */
166- public EidRuntimeException (
167- CharSequence eid ,
168- @ Nullable Throwable cause
169- ) {
154+ public EidRuntimeException (CharSequence eid , @ Nullable Throwable cause ) {
170155 this (new Eid (eid ), cause );
171156 }
172157
@@ -195,10 +180,7 @@ public EidRuntimeException(Eid id) {
195180 * @param message the detail message. The detail message is saved for
196181 * later retrieval by the {@link #getMessage()} method.
197182 */
198- public EidRuntimeException (
199- Eid id ,
200- String message
201- ) {
183+ public EidRuntimeException (Eid id , String message ) {
202184 super (id .message (message ).toString ());
203185 this .eid = id ;
204186 }
@@ -220,11 +202,7 @@ public EidRuntimeException(
220202 * permitted, and indicates that the cause is nonexistent or
221203 * unknown.)
222204 */
223- public EidRuntimeException (
224- Eid id ,
225- String message ,
226- @ Nullable Throwable cause
227- ) {
205+ public EidRuntimeException (Eid id , String message , @ Nullable Throwable cause ) {
228206 super (id .message (message ).toString (), cause );
229207 this .eid = id ;
230208 }
@@ -246,10 +224,7 @@ public EidRuntimeException(
246224 * permitted, and indicates that the cause is nonexistent or
247225 * unknown.)
248226 */
249- public EidRuntimeException (
250- Eid id ,
251- @ Nullable Throwable cause
252- ) {
227+ public EidRuntimeException (Eid id , @ Nullable Throwable cause ) {
253228 super (messageOf (id , cause ), cause );
254229 eid = id ;
255230 }
@@ -259,17 +234,6 @@ public Eid getEid() {
259234 return eid ;
260235 }
261236
262- /**
263- * Returns a standard JDK class that this ones is base on. It doesn't mean
264- * this class do extends that class, but it might.
265- *
266- * @return a standard JDK class of exception, in this case
267- * {@link RuntimeException} class.
268- */
269- public Class <? extends RuntimeException > getJavaClass () {
270- return RuntimeException .class ;
271- }
272-
273237 private static String messageOf (Eid eid , @ Nullable Throwable cause ) {
274238 if (cause != null ) {
275239 return eid .message (messageOf (cause )).toString ();
0 commit comments