KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sleepycat > je > ExceptionEvent


1 /*-
2  * See the file LICENSE for redistribution information.
3  *
4  * Copyright (c) 2002,2006 Oracle. All rights reserved.
5  *
6  * $Id: ExceptionEvent.java,v 1.3 2006/10/30 21:14:12 bostic Exp $
7  */

8
9 package com.sleepycat.je;
10
11 public class ExceptionEvent {
12     private Exception JavaDoc exception;
13     private String JavaDoc threadName;
14
15     ExceptionEvent(Exception JavaDoc exception, String JavaDoc threadName) {
16     this.exception = exception;
17     this.threadName = threadName;
18     }
19
20     public Exception JavaDoc getException() {
21     return exception;
22     }
23
24     public String JavaDoc getThreadName() {
25     return threadName;
26     }
27 }
28
29
Popular Tags