diff options
author | Steve Smokowski <ss835w@att.com> | 2019-04-29 13:35:45 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-04-29 13:35:45 +0000 |
commit | 702ab6907b58bfac82a17c52ecdc70ef4084ef6f (patch) | |
tree | f8a76979778c5553db92fd4300f4246cf965020c /bpmn/MSOCommonBPMN/src/main | |
parent | d402a7d0e3bfdfbd2a3d6cfce2c9f170a30c4192 (diff) | |
parent | 9df8a09e7b2463c3d5fb7a25a0fda536e7868b74 (diff) |
Merge "created new custom exception"
Diffstat (limited to 'bpmn/MSOCommonBPMN/src/main')
-rw-r--r-- | bpmn/MSOCommonBPMN/src/main/java/org/onap/so/client/exception/UnexpectedDataException.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/bpmn/MSOCommonBPMN/src/main/java/org/onap/so/client/exception/UnexpectedDataException.java b/bpmn/MSOCommonBPMN/src/main/java/org/onap/so/client/exception/UnexpectedDataException.java new file mode 100644 index 0000000000..84cf491355 --- /dev/null +++ b/bpmn/MSOCommonBPMN/src/main/java/org/onap/so/client/exception/UnexpectedDataException.java @@ -0,0 +1,17 @@ +package org.onap.so.client.exception; + + +public class UnexpectedDataException extends Exception { + + public UnexpectedDataException() {} + + public UnexpectedDataException(String message, String system) { + super("Unexpected data found in " + system + ". " + message); + } + + public UnexpectedDataException(String message) { + super("Unexpected data found. " + message); + } + + +} |