public class ExceptionalExample extends Object
a
is equivalent to b
- the notable difference being the lack of try-catch wrappingModifier and Type | Class and Description |
---|---|
static class |
ExceptionalExample.SomeArbitraryRuntimeException |
Constructor and Description |
---|
ExceptionalExample() |
Modifier and Type | Method and Description |
---|---|
void |
applyFilesList() |
void |
applyReadAllBytes() |
void |
convertFunctional() |
void |
invokeFunctional() |
byte[] |
readAllBytes(Path file) |
byte[] |
readAllBytesVanilla(Path file) |
static URI |
toUri(String ʊri) |
static URI |
toUriVanilla(String ʊri) |
void |
uri() |
@Test public void convertFunctional()
@Test public void invokeFunctional()
@Test public void uri()
@Test public void applyFilesList()
@Test public void applyReadAllBytes()
public byte[] readAllBytesVanilla(Path file)
public byte[] readAllBytes(Path file)
Copyright © 2016–2018 earcam. All rights reserved.