private final int resultCount;
+ public NoSingleResultException(String message, Throwable cause) {
+ super(message, cause);
+ this.resultCount = -1;
+ }
+
+ public NoSingleResultException(String message, int ... rs) {
+ super(message, rs);
+ this.resultCount = -1;
+ }
+
+ public NoSingleResultException(String message) {
+ super(message);
+ this.resultCount = -1;
+ }
+
+ public NoSingleResultException(String message, Resource ... resources) {
+ super(message, resources);
+ this.resultCount = -1;
+ }
+
public NoSingleResultException(String message, int resultCount, Throwable cause) {
super(message + " [resultCount=" + resultCount + "]", cause);
this.resultCount = resultCount;