Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Java in General
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Java in General
custom runtime exception creation
sameer kum
Greenhorn
Posts: 8
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
HI All,
what is meant by runtime exception.
can we create a custom runtime exception in
java
.
Regards,
sameer.
Paul Clapham
Marshal
Posts: 28177
95
I like...
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Well, here's a link to
the Oracle tutorial about Exceptions
. If you feel you already know enough about exceptions, scroll down to the part about "unchecked exceptions".
And yes, RuntimeException is not a final class, so you can subclass it.
Sai Hegde
security forum advocate
Posts: 236
1
I like...
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
For more talk --
https://coderanch.com/t/376608/java/java/Why-extend-RuntimeException
So you made a portal in time and started grabbing people. This tiny ad thinks that's rude:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
IO Exception in DB
method overriding
Java ranch rules roundup
setRollbackOnly problem in EJB
difference b/w Runtime and compile time exceptions?
More...