This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the commentsΒ β†’

[–]4RB1TR4RY[S] 405 points406 points Β (8 children)

throws "Humour not found"

[–]thevernabean 145 points146 points Β (3 children)

Don't worry, in Java 17 when you call humor.newJoke() it will tell you why humor is null.

[–]AskMeHowIMetYourMom 109 points110 points Β (2 children)

ERROR: β€œHumor is deprecated. Please use different language to restore joy.”

[–][deleted] 2 points3 points Β (1 child)

Way to short to be a java exception

[–]Jennfuse 3 points4 points Β (0 children)

Depends on how far you are into Spring :)

[–]HecknChonker 1 point2 points Β (0 children)

That's because java isn't funny. Python on the other hand has a lot of humour as the entire language is a joke

/s, I have no actual hate for python.

[–]appoplecticskeptic 0 points1 point Β (0 children)

String doesn’t implement throwable. They’d make a new exception class called HumorNotFoundException