зеркало из
https://github.com/iharh/notes.git
synced 2025-10-29 20:56:06 +02:00
59 строки
2.3 KiB
Plaintext
59 строки
2.3 KiB
Plaintext
2024
|
|
JUGNsk - Sitnikov - Fundamentals and Details Mechanics of Java Exceptions of 1:01:43
|
|
https://www.youtube.com/watch?v=UIbbNsta2UE
|
|
! 22:00 -XX:HeapDumpGzipLevel=5
|
|
! -XX:CrashDumpOnOutOfMemory # minidump
|
|
! 40:00 while(true) {
|
|
! if (Thread.interrupted()) { thrown new InterruptedException(); }
|
|
! try {
|
|
! Thread.sleep(300);
|
|
! } catch (InterruptedException ignore) {
|
|
! Thread.currentThread().interrupt();
|
|
! return;
|
|
! }
|
|
! }
|
|
! 46:00 StackWalker.getInstance(RETAIN_CLASS_REFERENCE).getCallerClass();
|
|
! StackWalker.getInstance().walk(s -> s.findFirst().get().getLineNumber());
|
|
2022
|
|
CSC - Valeev - Ex, try-catch and generics 0:00 of 1:35:15
|
|
https://www.youtube.com/watch?v=9yt4SiA7OiU
|
|
Devoxx - Subramaniam - Exception Handling in Functional and Reactive Programming of 2:29:17
|
|
https://www.youtube.com/watch?v=S5tLVsvbHBg
|
|
2021
|
|
https://bookflow.ru/sobesedovanie-po-java-isklyucheniya-exceptions-voprosy-i-otvety/
|
|
http://victorrentea.ro/blog/exception-handling-guide-in-java/
|
|
https://www.linkedin.com/learning/java-exception-handling/what-are-errors
|
|
Errors - are a subset of Throwables, indicating serious problem with an app
|
|
IOError
|
|
unrecoverable input/output error
|
|
serious issue with underlying FS
|
|
VirtualMachineError - running out of resources on JVM
|
|
- InternalError, UnknownError, OutOfMemoryError, StackOverflowError
|
|
|
|
Exceptions
|
|
Checked (at compile time)
|
|
IOException->FileNotFoundException
|
|
Unchecked (run-time)
|
|
NullPointerException
|
|
2020
|
|
CSC - Valeev - Ex, try-catch, generics and varargs of 1:48:15
|
|
https://www.youtube.com/watch?v=usiKCn7SwxI
|
|
https://javax0.wordpress.com/2020/05/13/all-you-wanted-to-know-about-throwable/
|
|
!!!
|
|
2019
|
|
https://dzone.com/articles/recovering-from-exceptions-in-locks
|
|
2018
|
|
https://habr.com/post/431586/
|
|
https://www.baeldung.com/java-exceptions
|
|
https://stackify.com/types-of-exceptions-java/
|
|
2017
|
|
CSC - Valeev - L4 - Packages Exceptions and Generics 1:16:00 of 1:36:18
|
|
https://www.youtube.com/watch?v=vfewyonYXOw
|
|
! 28:00 hier of Checked/Unchecked ex-s
|
|
! 1:14:00 PECS - Producer extends, Consumer super
|
|
|
|
Thread.currentThread().getStackTrace()
|
|
|
|
Thread.setDefaultUncaughtExceptionHandler(
|
|
new ElasticsearchUncaughtExceptionHandler(() -> Node.NODE_NAME_SETTING.get(settings)));
|