Brian

16%
Flag icon
} catch (CloneNotSupportedException e) {         throw new AssertionError();  // Can't happen     }
Brian
Why this exception substitution? Later explained: CloneNotSupportedException is a checked exception (AssertionError is not).
Effective Java
Rate this book
Clear rating
Open Preview