- D1Rect: Nagy "hülyétkapokazapróktól" topik
- Lalikiraly: A nagy ő! Stohl...
- Lalikiraly: Commodore The C64, Ultimate
- sziku69: Fűzzük össze a szavakat :)
- mefistofeles: Az elhízás nem akaratgyengeség!
- gban: Ingyen kellene, de tegnapra
- sziku69: Szólánc.
- Luck Dragon: Asszociációs játék. :)
- potyautas: A teljesség igénye 4.
- Bestx: Budget DIY eGPU USB4/Thunderbolt csatlakozással – egy mining VGA új élete.
Ú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?:))
- One mobilszolgáltatások
- Linux kezdőknek
- D1Rect: Nagy "hülyétkapokazapróktól" topik
- Lalikiraly: A nagy ő! Stohl...
- AMD Navi Radeon™ RX 9xxx sorozat
- Apple Watch Sport - ez is csak egy okosóra
- Elektromos autók - motorok
- Fejhallgató erősítő és DAC topik
- Vicces képek
- NVIDIA GeForce RTX 5070 / 5070 Ti (GB205 / 203)
- További aktív témák...
- Telenor 5G Indoor WiFi Router (FA7550) + töltő (utolsó DARAB!)
- Acer TravelMate P214 i3-1115G4 12GB 256GB 14" FHD 1év garancia
- Adata DDR5 5600 RAM 2x8 GB
- BESZÁMÍTÁS! GIGABYTE A520M R5 5500 16GB DDR4 512GB SSD GTX 1070 8GB Zalman T3 Plus DeepCool 400W
- Új MSI 15 Cyborg FHD IPS 144Hz i7-13620H 10mag 16GB 512GB SSD Nvidia RTX 4060 8GB Win11 Garancia
Állásajánlatok
Cég: Laptopműhely Bt.
Város: Budapest
Cég: Central PC számítógép és laptop szerviz - Pécs
Város: Pécs

