File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
src/main/java/org/mushare/pluto/exception Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ publishing {
4545
4646 publications {
4747 maven(MavenPublication ) {
48- version ' 0.1.1 '
48+ version ' 0.1.2 '
4949 group ' org.mushare'
5050 from components. java
5151 }
Original file line number Diff line number Diff line change @@ -4,8 +4,13 @@ public class PlutoError extends Error {
44
55 private PlutoErrorCode code ;
66
7+ public PlutoErrorCode getCode () {
8+ return code ;
9+ }
10+
711 public PlutoError (PlutoErrorCode code ) {
812 super (code .toString ());
913 this .code = code ;
1014 }
15+
1116}
Original file line number Diff line number Diff line change 11package org .mushare .pluto .exception ;
22
3- public class PlutoException extends RuntimeException {
3+ public class PlutoException extends Exception {
44
55 private final PlutoError error ;
66
You can’t perform that action at this time.
0 commit comments