Renders map of exception data, when trying to access a non-existent element in an ArrayList.
arrayList = createObject("JAVA", "java.util.ArrayList").init();
try {writeDump(arrayList.get(2));}
catch(java.lang.IndexOutOfBoundsException _) {
writeDump(getException(arrayList));
}
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.