public void testSysExceptionWithNestedSysException() {
   Exception exception = new SysException("test");
   exception.fillInStackTrace();
   SysException se = new SysException(null, exception);
   StackTraceElement[] st = se.getStackTrace();
   assertNotNull(st);
   assertFalse(st.length == 0);
 }
 public void testSysExceptionWithoutNestedErrors() {
   SysException se = new SysException(null);
   StackTraceElement[] st = se.getStackTrace();
   assertNotNull(st);
   assertFalse(st.length == 0);
 }