Other |
---|
5.0 tigerFixed |
Duplicate :
|
The following code causes an java.lang.IllegalStateException, but according to the documentation should not throw this. Test() throws MarshalException{ try { throw new MarshalException(mystring); } catch(Exception e) { MarshalException me = new MarshalException("Scooby"); me.initCause(e); throw me; } } public static void main(String args[]) throws MarshalException{ new Test(); } }
|