minor refactoring

This commit is contained in:
Craig Raw 2020-05-12 14:16:13 +02:00
parent ba2004c9fb
commit b951f79cfd
2 changed files with 19 additions and 3 deletions

View file

@ -117,7 +117,4 @@ public class ECIESKeyCrypter implements AsymmetricKeyCrypter {
}
return out.toByteArray();
}
public static class InvalidPasswordException extends RuntimeException {
}
}

View file

@ -0,0 +1,19 @@
package com.sparrowwallet.drongo.crypto;
public class InvalidPasswordException extends RuntimeException {
public InvalidPasswordException() {
super();
}
public InvalidPasswordException(String message) {
super(message);
}
public InvalidPasswordException(Throwable cause) {
super(cause);
}
public InvalidPasswordException(String message, Throwable cause) {
super(message, cause);
}
}