Files
java-interview-lab/heap/output/10-exceptions.txt
T

8 lines
251 B
Plaintext

Calls PriorityQueue rejects
===========================
add(null) : NullPointerException
add(new Object()) to an empty queue : ClassCastException
new PriorityQueue<>(0) : IllegalArgumentException
add while iterating : ConcurrentModificationException