### Question:
TransportGnipException extends GnipException { public final boolean isNetworkError() { return (getCause() != null) ? getCause() instanceof IOException : false; } TransportGnipException(final String message, final Throwable cause);  TransportGnipException(final String message);  TransportGnipException(final Throwable cause); final boolean isNetworkError();  }### Answer:
@Test public final void testNetwork() { assertFalse(new TransportGnipException("x").isNetworkError()); assertFalse(new TransportGnipException(new IllegalArgumentException()).isNetworkError()); assertTrue(new TransportGnipException("ioio", new IOException("no network")).isNetworkError()); }