JanosVM v1.0 API

edu.utah.janosvm.sys
Class DeadTeamException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--edu.utah.janosvm.sys.DeadTeamException
All Implemented Interfaces:
java.io.Serializable

public class DeadTeamException
extends java.lang.Exception

Exception thrown when a {@linkplain Team#switchTo visit} or {@linkplain Team#pushReservation reservation} cannot be secured because one of the teams involved is dead.

While a DeadTeamException usually implies that the other team is dead, it can mean that the current team is dead. Normally, if the current team is dead, the reservation won't even return, but if there are nested visits preventing termination of the current team, then this exception will be thrown because the current team died. The current thread will die when the visit is complete.

There is currently no way to distinguish the current team's death from the other team's death.

See TeamReservation for more details on visits and the special handling of code running during a visit.

Author:
Tim Stack, Utah Janos Team
See Also:
Exportable.switchToOwner(), Exportable.pushOwnerReservation(), PortAuthority.importObject(edu.utah.janosvm.sys.Importable, edu.utah.janosvm.sys.TeamHandle, java.lang.Object), TeamHandle.importObject(edu.utah.janosvm.sys.Importable, java.lang.Object), Team.create(edu.utah.janosvm.sys.TeamHandle, java.lang.String, edu.utah.janosvm.resources.ResourceSpec[], kaffe.util.Ptr), TeamHandle.pushReservation(), TeamHandle.switchTo(), Serialized Form

Fields inherited from class java.lang.Throwable
backtrace, cause, message, serialVersionUID, setCause
 
Constructor Summary
DeadTeamException()
           
DeadTeamException(java.lang.String s)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, initCause, printStackTrace, printStackTrace, printStackTrace, printStackTrace0, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait, wait0
 

Constructor Detail

DeadTeamException

public DeadTeamException()

DeadTeamException

public DeadTeamException(java.lang.String s)

JanosVM v1.0 API

This documentation is Copyright (C) 2000-2003 The University of Utah. All Rights Reserved. See the documentation license for distribution terms and restrictions.
Documentation, software, and mailing lists for the JanosVM can be found at the Janos Project web page: http://www.cs.utah.edu/flux/janos/
Generated on Feb 13, 2003