Skip to content

Commit

Permalink
Move CipherException from org.web3j.crypto to org.web3j.crypto.exception
Browse files Browse the repository at this point in the history
  • Loading branch information
JayMaro committed Aug 16, 2023
1 parent 5cda8b0 commit 98840f9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions core/src/main/java/org/web3j/crypto/Bip44WalletUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

import java.io.File;
import java.io.IOException;
import org.web3j.crypto.exception.CipherException;

import static org.web3j.crypto.Bip32ECKeyPair.HARDENED_BIT;

Expand Down
1 change: 1 addition & 0 deletions core/src/main/java/org/web3j/crypto/Wallet.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import org.bouncycastle.crypto.generators.SCrypt;
import org.bouncycastle.crypto.params.KeyParameter;

import org.web3j.crypto.exception.CipherException;
import org.web3j.utils.Numeric;

import static java.nio.charset.StandardCharsets.UTF_8;
Expand Down
1 change: 1 addition & 0 deletions core/src/main/java/org/web3j/crypto/WalletUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;

import org.web3j.crypto.exception.CipherException;
import org.web3j.utils.Numeric;

import static org.web3j.crypto.Hash.sha256;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*/
package org.web3j.crypto;
package org.web3j.crypto.exception;

/** Cipher exception wrapper. */
public class CipherException extends Exception {
Expand Down

0 comments on commit 98840f9

Please sign in to comment.