try {
if (condition) { /* code whatever */ }
} catch (MommaAintRaisedNoCowardException _) {
log.error("No bugs to be seen here no sirreee");
}
public class MommaAintRaisedNoCowardException
extends NullPointerException
{ /* standard exception stuff */ }
View all comments
Show parent comment
39
u/NoWeHaveYesBananas 7d ago
What if you want it to throw an error, and not hide your bugs like a coward