home *** CD-ROM | disk | FTP | other *** search
/ S283 Planetary Science &n…he Search for Life DVD 2 / DVD-ROM.iso / install / jre1_3 / lib / rt.jar / javax / naming / event / NamingExceptionEvent.class (.txt) < prev    next >
Encoding:
Java Class File  |  1979-12-31  |  838 b   |  27 lines

  1. package javax.naming.event;
  2.  
  3. import java.util.EventObject;
  4. import javax.naming.NamingException;
  5.  
  6. public class NamingExceptionEvent extends EventObject {
  7.    private NamingException exception;
  8.    private static final long serialVersionUID = -4877678086134736336L;
  9.  
  10.    public NamingExceptionEvent(EventContext var1, NamingException var2) {
  11.       super(var1);
  12.       this.exception = var2;
  13.    }
  14.  
  15.    public NamingException getException() {
  16.       return this.exception;
  17.    }
  18.  
  19.    public EventContext getEventContext() {
  20.       return (EventContext)((EventObject)this).getSource();
  21.    }
  22.  
  23.    public void dispatch(NamingListener var1) {
  24.       var1.namingExceptionThrown(this);
  25.    }
  26. }
  27.