We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [custom-exception]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
48 views

How to disable constructors in custom exceptions?

There is a lot out there on how you can't override exception constructors and how to do custom exceptions, but I haven't been able to find anything on disabling a constructor for an extended class. I'...
8
votes
0answers
84 views

Rethrowing an exception is missing the stackTraceString

I have code that is wrapped into a main try-catch block and then inside of that I have another try-catch which I am using for a specific use case. If the inner try-catch gets triggered I then use a ...