Skip to content

Method: create()

1: package de.fhdw.wtf.common.exception.referencer;
2:
3: import de.fhdw.wtf.common.exception.walker.TaskException;
4:
5: /**
6: * The {@link de.fhdw.wtf.walker.tasks.TypeReferencer} throws it, if the class could not found for one or more names.
7: *
8: */
9: public final class ReferencingNotSuccessfulException extends TaskException {
10:         
11:         /**
12:          * generated.
13:          */
14:         private static final long serialVersionUID = -8216115954693202252L;
15:         
16:         /**
17:          * Constructor of {@link ReferencingNotSuccessfulException}.
18:          *
19:          * @param message
20:          * message
21:          */
22:         private ReferencingNotSuccessfulException(final String message) {
23:                 super(message);
24:         }
25:         
26:         /**
27:          * Creates a {@link ReferencingNotSuccessfulException}-Object.
28:          *
29:          * @return The {@link ReferencingNotSuccessfulException}-Object.
30:          */
31:         public static ReferencingNotSuccessfulException create() {
32:                 return new ReferencingNotSuccessfulException(
33:                                 de.fhdw.wtf.common.constants.referencer.ExceptionConstans.REFERENCING_NOT_SUCCESSFUL_EXCEPTION_MESSAGE);
34:         }
35:         
36: }