Code: Select all
try {
if () ...
if () ...
if (a!= b) generate exception;
if () ...
} catch (...) {
}
Is there a way to emit a own exception if I want?
Code: Select all
try {
if () ...
if () ...
if (a!= b) generate exception;
if () ...
} catch (...) {
}
Code: Select all
try {
throws;
} catch (...) {
}