@Test public void testConstructZeroLineNumber() { IllegalArgumentException e = assertThrows(IllegalArgumentException.class, () -> { new ScriptExecutionWarning(0, sourceCode); }); assertThat(e.getMessage()) .isEqualTo("Line number must be a non-zero, positive integer: " + Integer.toString(0)); }
@Override public String toString() { return ToStringBuilder.reflectionToString(this); }
ScriptExecutionWarning { @Override public String toString() { return ToStringBuilder.reflectionToString(this); } }
ScriptExecutionWarning { @Override public String toString() { return ToStringBuilder.reflectionToString(this); } ScriptExecutionWarning(final int lineNumber, final String sourceCode); }
ScriptExecutionWarning { @Override public String toString() { return ToStringBuilder.reflectionToString(this); } ScriptExecutionWarning(final int lineNumber, final String sourceCode); @Override boolean equals(final Object obj); int getLineNumber(); String getSourceCode(); @Override int hashCode(); @Override String toString(); }
ScriptExecutionWarning { @Override public String toString() { return ToStringBuilder.reflectionToString(this); } ScriptExecutionWarning(final int lineNumber, final String sourceCode); @Override boolean equals(final Object obj); int getLineNumber(); String getSourceCode(); @Override int hashCode(); @Override String toString();  }