Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/internal/util/om/trace/TraceHandlerEvent.java')
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/internal/util/om/trace/TraceHandlerEvent.java78
1 files changed, 0 insertions, 78 deletions
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/internal/util/om/trace/TraceHandlerEvent.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/internal/util/om/trace/TraceHandlerEvent.java
deleted file mode 100644
index 30253d1f10..0000000000
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/internal/util/om/trace/TraceHandlerEvent.java
+++ /dev/null
@@ -1,78 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004 - 2008 Eike Stepper, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.internal.util.om.trace;
-
-import org.eclipse.net4j.util.om.trace.OMTraceHandlerEvent;
-import org.eclipse.net4j.util.om.trace.OMTracer;
-
-import java.io.Serializable;
-
-/**
- * @author Eike Stepper
- */
-public class TraceHandlerEvent implements OMTraceHandlerEvent, Serializable
-{
- private static final long serialVersionUID = 1L;
-
- protected long timeStamp;
-
- protected OMTracer tracer;
-
- protected Class<?> context;
-
- protected String message;
-
- protected Throwable throwable;
-
- public TraceHandlerEvent(OMTracer tracer, Class<?> context, String message, Throwable throwable)
- {
- if (tracer == null)
- {
- throw new IllegalArgumentException("tracer == null");
- }
-
- if (context == null)
- {
- throw new IllegalArgumentException("context == null");
- }
-
- timeStamp = System.currentTimeMillis();
- this.tracer = tracer;
- this.context = context;
- this.message = message;
- this.throwable = throwable;
- }
-
- public long getTimeStamp()
- {
- return timeStamp;
- }
-
- public OMTracer getTracer()
- {
- return tracer;
- }
-
- public Class<?> getContext()
- {
- return context;
- }
-
- public String getMessage()
- {
- return message;
- }
-
- public Throwable getThrowable()
- {
- return throwable;
- }
-}

Back to the top