diff options
Diffstat (limited to 'cps-service/src/main')
-rw-r--r-- | cps-service/src/main/java/org/onap/cps/spi/exceptions/CpsPathException.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cps-service/src/main/java/org/onap/cps/spi/exceptions/CpsPathException.java b/cps-service/src/main/java/org/onap/cps/spi/exceptions/CpsPathException.java index fde5566b1..f1e8dc525 100644 --- a/cps-service/src/main/java/org/onap/cps/spi/exceptions/CpsPathException.java +++ b/cps-service/src/main/java/org/onap/cps/spi/exceptions/CpsPathException.java @@ -23,13 +23,14 @@ public class CpsPathException extends CpsException { private static final long serialVersionUID = 1006899957127327791L; + private static final String ERROR_MESSAGE = "Error while parsing cpsPath expression"; + /** * Constructor. * - * @param message the error message * @param details the error details */ - public CpsPathException(final String message, final String details) { - super(message, details); + public CpsPathException(final String details) { + super(ERROR_MESSAGE, details); } } |