@Test public void testGetVErrorsThrowsNullPointerException() throws Throwable { VErrorParser vErrorParser = new VErrorParser(); ISOVMsg c = new ISOVMsg(new ISOMsg(), new ISOVError("testVErrorParserDescription")); c.addISOVError(null); try { vErrorParser.getVErrors(c); fail("Expected NullPointerException to be thrown"); } catch (NullPointerException ex) { if (isJavaVersionAtMost(JAVA_14)) { assertNull(ex.getMessage(), "ex.getMessage()"); } else { assertEquals("Cannot invoke \"org.jpos.iso.ISOVError.setId(String)\" because \"error\" is null", ex.getMessage(), "ex.getMessage()"); } } }
public Vector getVErrors( ISOComponent c ) { Vector v = new Vector(); _getErr( c, v, "" ); _errors = v; return _errors; }
VErrorParser implements LogSource, Loggeable { public Vector getVErrors( ISOComponent c ) { Vector v = new Vector(); _getErr( c, v, "" ); _errors = v; return _errors; } }
VErrorParser implements LogSource, Loggeable { public Vector getVErrors( ISOComponent c ) { Vector v = new Vector(); _getErr( c, v, "" ); _errors = v; return _errors; }  }
VErrorParser implements LogSource, Loggeable { public Vector getVErrors( ISOComponent c ) { Vector v = new Vector(); _getErr( c, v, "" ); _errors = v; return _errors; }  Vector getVErrors( ISOComponent c ); String parseXMLErrorList(); void setLogger(Logger logger, String realm); String getRealm(); Logger getLogger(); void dump(PrintStream p, String indent); void resetErrors(); }
VErrorParser implements LogSource, Loggeable { public Vector getVErrors( ISOComponent c ) { Vector v = new Vector(); _getErr( c, v, "" ); _errors = v; return _errors; }  Vector getVErrors( ISOComponent c ); String parseXMLErrorList(); void setLogger(Logger logger, String realm); String getRealm(); Logger getLogger(); void dump(PrintStream p, String indent); void resetErrors();  }