-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
206 additions
and
39 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
src/main/java/org/stellar/sdk/AccountNotFoundException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package org.stellar.sdk; | ||
|
||
import lombok.Getter; | ||
|
||
/** Exception thrown when trying to load an account that doesn't exist on the Stellar network. */ | ||
@Getter | ||
public class AccountNotFoundException extends Exception { | ||
// The account that was not found. | ||
private final String accountId; | ||
|
||
public AccountNotFoundException(String accountId) { | ||
super("Account not found, accountId: " + accountId); | ||
this.accountId = accountId; | ||
} | ||
} |
14 changes: 0 additions & 14 deletions
14
src/main/java/org/stellar/sdk/LedgerEntryNotFoundException.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters