01: package org.apache.maven.lifecycle;
02:
03: public class NoSuchPhaseException extends
04: LifecycleSpecificationException {
05:
06: private final String phase;
07:
08: public NoSuchPhaseException(String phase, String message,
09: Throwable cause) {
10: super (message, cause);
11: this .phase = phase;
12: }
13:
14: public NoSuchPhaseException(String phase, String message) {
15: super (message);
16: this .phase = phase;
17: }
18:
19: public String getPhase() {
20: return phase;
21: }
22:
23: }
|