Skip to content

Commit 60cb566

Browse files
authored
Update CannotSubtractException.java
1 parent 9ad38a4 commit 60cb566

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

money/src/main/java/com/iluwatar/CannotSubtractException.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package com.iluwatar;
22
/**
3-
* An exception for when the user tries to subtract two diffrent currencies or subtract an amount he doesn't have.
3+
* An exception for when the user tries to subtract two different currencies or subtract an amount he doesn't have.
44
*/
55
public class CannotSubtractException extends Exception {
66
/**
@@ -12,4 +12,4 @@ public CannotSubtractException(String message) {
1212
super(message);
1313
}
1414

15-
}
15+
}

0 commit comments

Comments
 (0)