|
|
|
Простой вопрос: Почему такая разница в возбуждении RuntimeException и IllegalAccessExcepti
|
|||
|---|---|---|---|
|
#18+
Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32. 33. 34. 35. 36. 37. 38. 39. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 18.03.2005, 14:01 |
|
||
|
Простой вопрос: Почему такая разница в возбуждении RuntimeException и IllegalAccessExcepti
|
|||
|---|---|---|---|
|
#18+
JavaDoc RuntimeException is the superclass of those exceptions that can be thrown during the normal operation of the Java Virtual Machine. A method is not required to declare in its throws clause any subclasses of RuntimeException that might be thrown during the execution of the method but not caught. А если по русский, то RuntimeException это особый exception, именно его выкидывает JVM, когда случаются системные траблы и выкинуть она его может абсолютно в любом месте, поэтому нет смысла отлавливать его try/catch или объявлять как throws. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 18.03.2005, 14:09 |
|
||
|
|

start [/forum/topic.php?fid=59&msg=32968254&tid=2152785]: |
0ms |
get settings: |
10ms |
get forum list: |
23ms |
check forum access: |
5ms |
check topic access: |
5ms |
track hit: |
104ms |
get topic data: |
12ms |
get forum data: |
3ms |
get page messages: |
38ms |
get tp. blocked users: |
1ms |
| others: | 252ms |
| total: | 453ms |

| 0 / 0 |
