خرید بک لینک

Vote count: 0

I'm new to Java custom exceptions. I see many examples of how to create them, but there are two questions I caot find answers to:

1) Can a custom exception be defined within the object class it's intended for, or must it be in its own class file?

2) Regardless of location, can multiple custom exceptions be defined within a single class file, or does every custom exception require its own class file?

Some code snippets would be greatly appreciated.

Thanks.

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: دوشنبه 27 ارديبهشت 1395 ساعت: 0:28

صفحه بندی