-
Notifications
You must be signed in to change notification settings - Fork 241
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor InvalidArgumentException to kotlin
- Loading branch information
Jose Noriega
committed
Jan 19, 2023
1 parent
6014b5f
commit 34220bf
Showing
2 changed files
with
9 additions
and
10 deletions.
There are no files selected for viewing
10 changes: 0 additions & 10 deletions
10
BraintreeCore/src/main/java/com/braintreepayments/api/InvalidArgumentException.java
This file was deleted.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
BraintreeCore/src/main/java/com/braintreepayments/api/InvalidArgumentException.kt
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,9 @@ | ||
package com.braintreepayments.api | ||
|
||
import java.lang.Exception | ||
|
||
/** | ||
* Error thrown when arguments provided to a method are invalid. | ||
* @param message the error message | ||
*/ | ||
class InvalidArgumentException internal constructor(message: String?) : Exception(message) |