hi everybody
it may sounds like a dump question,but i have a question is that how can I throw an exception in this case:
this is a method of my assignment that should be implemented!I dont know what it means by throws that certain exception!
/**
* Returns the Position of the first element of the List, or,
* if the List is empty, throws an exception.
*
* @return Position of first element in List.
* @exception ListEmptyException raised if the List is empty.
*/
virtual Position<T>* first() const throw(ListEmptyException){