X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=bundles%2Forg.simantics.db%2Fsrc%2Forg%2Fsimantics%2Fdb%2Fevent%2FSessionEvent.java;fp=bundles%2Forg.simantics.db%2Fsrc%2Forg%2Fsimantics%2Fdb%2Fevent%2FSessionEvent.java;h=845c78bbd4e9695cdccf7e8f2fe9e946f71e6b39;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hp=7feb4a42a22db5bc3c7b3402f56ac44937484817;hpb=24e2b34260f219f0d1644ca7a138894980e25b14;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.db/src/org/simantics/db/event/SessionEvent.java b/bundles/org.simantics.db/src/org/simantics/db/event/SessionEvent.java index 7feb4a42a..845c78bbd 100644 --- a/bundles/org.simantics.db/src/org/simantics/db/event/SessionEvent.java +++ b/bundles/org.simantics.db/src/org/simantics/db/event/SessionEvent.java @@ -1,42 +1,42 @@ -/******************************************************************************* - * Copyright (c) 2007, 2010 Association for Decentralized Information Management - * in Industry THTH ry. - * 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: - * VTT Technical Research Centre of Finland - initial API and implementation - *******************************************************************************/ -package org.simantics.db.event; - -import org.simantics.db.Session; -import org.simantics.db.SessionManager; - -/** - * An event object concerning Sessions of a SessionManager. - * - * @author Tuukka Lehtonen - * @see Session - * @see SessionListener - * @see SessionManager - */ -public class SessionEvent { - - private final Session session; - private final Throwable cause; - - public SessionEvent(Session session, Throwable cause) { - this.session = session; - this.cause = cause; - } - - public Session getSession() { - return session; - } - - public Throwable getCause() { - return cause; - } -} +/******************************************************************************* + * Copyright (c) 2007, 2010 Association for Decentralized Information Management + * in Industry THTH ry. + * 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: + * VTT Technical Research Centre of Finland - initial API and implementation + *******************************************************************************/ +package org.simantics.db.event; + +import org.simantics.db.Session; +import org.simantics.db.SessionManager; + +/** + * An event object concerning Sessions of a SessionManager. + * + * @author Tuukka Lehtonen + * @see Session + * @see SessionListener + * @see SessionManager + */ +public class SessionEvent { + + private final Session session; + private final Throwable cause; + + public SessionEvent(Session session, Throwable cause) { + this.session = session; + this.cause = cause; + } + + public Session getSession() { + return session; + } + + public Throwable getCause() { + return cause; + } +}