diff --git a/src/main/java/com/sparrowwallet/drongo/crypto/ECIESKeyCrypter.java b/src/main/java/com/sparrowwallet/drongo/crypto/ECIESKeyCrypter.java index 64ddf4f..3a1b212 100644 --- a/src/main/java/com/sparrowwallet/drongo/crypto/ECIESKeyCrypter.java +++ b/src/main/java/com/sparrowwallet/drongo/crypto/ECIESKeyCrypter.java @@ -117,7 +117,4 @@ public class ECIESKeyCrypter implements AsymmetricKeyCrypter { } return out.toByteArray(); } - - public static class InvalidPasswordException extends RuntimeException { - } } diff --git a/src/main/java/com/sparrowwallet/drongo/crypto/InvalidPasswordException.java b/src/main/java/com/sparrowwallet/drongo/crypto/InvalidPasswordException.java new file mode 100644 index 0000000..546ba96 --- /dev/null +++ b/src/main/java/com/sparrowwallet/drongo/crypto/InvalidPasswordException.java @@ -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); + } +}