Java API and reception of error frames


I see some mention of adding the ICanControl.CAN_OPMODE_ERRFRAME flag to the InitLine function to enable reception of error frames, but I don’t seem to get a notification of a received message and I can’t find any examples.

Is this something supported in the Java interface? I want to be able to determine how many error frames per second I am receiving using Java.