Current Forum: Homework 4 - Huffman Trees (Part 1) |
Date: Tue Oct 2 2001 10:52 am |
Author: Douglas, Keith <kdouglas@andrew.cmu.edu> |
Subject: How does exception handling work? |
|
|
I am implementing a priority queue to help with the huffman encoding, and our text's source uses an exception of "Overflow" to this end.
The compiler doesn't seem to know about this ... what does one have to do to implement this?
(I can do it "C style" and just print an error manually and abort, but ... that's not the java way...)
|
|