Revision 9680
trunk/libraries/libExceptions/src-test/org/gvsig/exceptions/BaseExceptionTest.java | ||
---|---|---|
44 | 44 |
throw new NullPointerException("Excepcion de puntero nulo"); |
45 | 45 |
} catch (NullPointerException e){ |
46 | 46 |
BadDateException de = new BadDateException("SimpleDriver", e); |
47 |
System.out.println(de.getMessageStack(4)); |
|
48 | 47 |
assertEquals("Driver SimpleDriver: Formato de fecha incorrecto",de.getMessage()); |
49 | 48 |
assertEquals("Driver SimpleDriver: Formato de fecha incorrecto\nExcepcion de puntero nulo\n",de.getMessageStack()); |
50 | 49 |
} |
Also available in: Unified diff