Results 1 to 2 of 2
Thread: Unhandled exception type. Help
- 11-15-2009, 01:18 PM #1
Member
- Join Date
- Oct 2009
- Posts
- 14
- Rep Power
- 0
Unhandled exception type. Help
I'm wrtiting a program for Queue which has these two functions:
public Object dequeue () throws QueueZadIsEmptyException {
if (isEmpty())
throw new QueueZadIsEmptyException ();
ElementProces temp = head.next;
head.next = temp.next;
temp.next = null;
if (temp == tail) tail = head;
return temp.ime;
}
and
static void procesiranje(QueueZad a,QueueZad b,QueueZad c )throws IOException{
while(!a.isEmpty() || !b.isEmpty() || !c.isEmpty()){
if(!a.isEmpty()){
if(a.getHead().golemina <= 5){
a.dequeue(); //////////here
}
}
}
}
At the line with /////// an "unhandled exception type" is making a problem. Can someone help me?
OMG I got it. Tnx anyway
- 11-16-2009, 03:17 AM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
If you've solve the problem, please mark the thread as solved from the tools menu. And also please use code tags when you posting again, unformated codes are hard to read.
Similar Threads
-
Menu Type cast Exception
By arulmozs in forum AWT / SwingReplies: 8Last Post: 11-02-2009, 10:34 PM -
type of exception?
By hedonist in forum New To JavaReplies: 3Last Post: 08-19-2009, 07:04 PM -
Unhandled exception
By McChill in forum New To JavaReplies: 1Last Post: 02-24-2009, 12:01 AM -
[SOLVED] Cast string type to int type
By GilaMonster in forum New To JavaReplies: 9Last Post: 09-17-2008, 10:43 AM -
Trouble with factory method - unhandled exception type Exception
By desmond5 in forum New To JavaReplies: 1Last Post: 03-08-2008, 06:41 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks