Objectivity for Java Reference

com.objy.db
Class NotJoinedException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--com.objy.db.ObjyRuntimeException
                          |
                          +--com.objy.db.NotJoinedException
All Implemented Interfaces:
Serializable

public class NotJoinedException
extends ObjyRuntimeException

Signals an attempt to perform an operation that requires a thread to be joined to a session or ODMG transaction when the thread is not joined to the appropriate session or ODMG transaction. For example, if a session's thread policy is restricted, this exception is thrown when a thread that is not joined to the session attempts to perform a persistent operation using that session.

Note: You should not create or throw an exception of this class; you obtain an instance of this class by catching unchecked exceptions.

See Also:
Serialized Form

Constructor Summary
NotJoinedException()
          Reserved for internal use; you obtain an exception of this class only by catching unchecked exceptions.
NotJoinedException(String msg)
          Reserved for internal use; you obtain an exception of this class only by catching unchecked exceptions.
 
Methods inherited from class com.objy.db.ObjyRuntimeException
errors, reportErrors, setErrors
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NotJoinedException

public NotJoinedException()
Reserved for internal use; you obtain an exception of this class only by catching unchecked exceptions.

You should not use this constructor directly.


NotJoinedException

public NotJoinedException(String msg)
Reserved for internal use; you obtain an exception of this class only by catching unchecked exceptions.

You should not use this constructor directly.


Objectivity for Java Reference

Copyright © 2000 Objectivity, Inc. All rights reserved.