previous |
start |
next
Exceptions
- Can't be overlooked
- Can be handled by a competent handler, not necessarily
the calling method
- Throw an exception object to indicate failure
if (failure)
{
XxxException e = new XxxException(. .
.);
throw e;
}
- More concisely
throw new XxxException(. . .);
previous |
start |
next