Foamy: No matter what color it is, you should check in with your doctor if it consistently looks foamy and frothy. It may be a sign you have protein in your urine, which may mean you have issues with your kidneys. Pee doesnât usually have a strong smell.
If the file cannot be found, the exception is caught in the catch-block. In this example, the error handler simply prints the stack trace, which provides useful information for debugging. In some situations, you may need to perform some clean-up operations, or open another file instead.
For example, if the try block in the above example throws an exception, the catch clause for TooColdException will be examined first, then the catch clause for TooHotException. During this examination process, the first catch clause encountered that handles the thrown object's class gets to catch the exception.