34353637383940414243
public void testExceptions() { NullPointerException npe = new NullPointerException(); new MatrixError(npe); new NeuralNetworkError(npe); new BotError(npe); new BotError("test"); new BrowseError(npe); new BrowseError("test"); }
195196197198199200201202
} newline(); } } catch (final IOException e) { throw new BotError(e); } }
246247248249250251252253
boundary(); writeln("--"); this.os.flush(); } } catch (final IOException e) { throw (new BotError(e)); } }
268269270271272273274275
*/ private void write(final String str) { try { this.os.write(str.getBytes()); } catch (final IOException e) { throw new BotError(e); } }
106107108109110111112113114115
} this.peekLength = depth + 1; } } catch (final IOException e) { throw new BotError(e); } return this.peekBytes[depth]; }
150151152153154155156157
this.peekBytes[i] = this.peekBytes[i + 1]; } return result; } catch (final IOException e) { throw new BotError(e); } }
166167168169170171172173174175176177178179
loadItem(node); } } } catch (final IOException e) { EncogLogging.log(e); throw new BotError(e); } catch (final SAXException e) { EncogLogging.log(e); throw new BotError(e); } catch (final ParserConfigurationException e) { EncogLogging.log(e); throw new BotError(e); } }