- Klaus Duran: RCS
- Brogyi: CTEK akkumulátor töltő és másolatai
- sziku69: Fűzzük össze a szavakat :)
- D1Rect: Nagy "hülyétkapokazapróktól" topik
- eBay-es kütyük kis pénzért
- Luck Dragon: Asszociációs játék. :)
- gerner1
- total90: SSD és HDD árak 2026-ban – most kell vásárolni, vagy várni 2028-ig?
- lkristóf: Prohardver fórum userscript – hogy lásd, mikor neked válaszoltak
- Oldman2: A KOReader ebook olvasó program
Új hozzászólás Aktív témák
-
válasz
Ablakos
#12026
üzenetére
Remelem nem gond az angol:
Catch Block
You can add a catch block to a try-with-resources block just like you can to a standard try block. If an exception is thrown from within the try block of a try-with-resources block, the catch block will catch it, just like it would when used with a standard try construct.Before the catch block is entered, the try-with-resources construct will attempt to close the resources opened inside the try block. In case an exception is thrown when attempting to close one of the resources, these exceptions will be available from the exception's getSuppressed() method inside the catch block. Here is an example of a Java try-with-resources block with a catch block attached:
try(AutoClosableResource resourceOne = new AutoClosableResource("One", true)) {
resourceOne.doOp(true);
} catch(Exception e) {
Throwable[] suppressed = e.getSuppressed();
throw e;
}
Új hozzászólás Aktív témák
A topicot kiemeltem. Valaki nem akar egy nyitó hsz-t írni?:))
- AMD Ryzen 9 / 7 / 5 / 3 5***(X) "Zen 3" (AM4)
- E-roller topik
- Konzolokról KULTURÁLT módon
- Android felhasználók OFF topikja
- Bluetooth hangszórók
- Multimédiás / PC-s hangfalszettek (2.0, 2.1, 5.1)
- AMD K6-III, és minden ami RETRO - Oldschool tuning
- Itt a Galaxy S26 széria: az Ultra fejlődött, a másik kettő alig
- Apple iPhone 17 Pro Max – fennsík
- VR topik
- További aktív témák...
- OnePlus Nord CE5 128GB, Kártyafüggetlen, 1 Év Garanciával
- GYÖNYÖRŰ iPhone 12 mini 256GB Red -1 ÉV GARANCIA -Kártyafüggetlen, MS3627
- Bomba ár! Dynabook Portege X30-L - i5-1135G7 I 8-16GB I 256SSD I 13,3" FHD I Cam I W11 I Garancia!
- BESZÁMÍTÁS! Gigabyte G1.Sniper Z97 chipset alaplap garanciával hibátlan működéssel
- Új Dell 14 Precision 5490 WUXGA IPS Ultra 7 165H 32GB 1TB Intel Arc + Nvidia RTX 2000 Win11 Garancia
Állásajánlatok
Cég: Laptopműhely Bt.
Város: Budapest

