I can't remeber how this works. If I have a method that throws an exception I can deal with it in the method or declare that the method throws exception. What happens when I have a method within a method that might throw an exception, but is not explicitly declared that it might?
For example:
public void A() throws Exception
{
B();
}
public void B()
{
//Some code in here may cause an exception.
}
What happens when method "B" causes an Exception? Does the program crash? Should "B" declare "throws Exception" in the method declaration?