Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

gnu.java.beans
Class DefaultExceptionListener  view DefaultExceptionListener download DefaultExceptionListener.java

java.lang.Object
  extended bygnu.java.beans.DefaultExceptionListener
All Implemented Interfaces:
java.beans.ExceptionListener

public class DefaultExceptionListener
extends java.lang.Object
implements java.beans.ExceptionListener

The DefaultExceptionListener is the default implementation of the java.beans.ExceptionListener interface. An instance of this class is used whenever the user provided no ExceptionListener instance on its own.

The implementation just writes the exception's message to System.err and is used by the java.beans.Encoder and the java.beans.XMLDecoder.


Field Summary
static DefaultExceptionListener INSTANCE
           
 
Constructor Summary
DefaultExceptionListener()
           
 
Method Summary
 void exceptionThrown(java.lang.Exception e)
          Fired after an exception occurs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final DefaultExceptionListener INSTANCE
Constructor Detail

DefaultExceptionListener

public DefaultExceptionListener()
Method Detail

exceptionThrown

public void exceptionThrown(java.lang.Exception e)
Description copied from interface: java.beans.ExceptionListener
Fired after an exception occurs.

Specified by:
exceptionThrown in interface java.beans.ExceptionListener