ptolemy.domains.sr.kernel
Class UnknownTokenException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byptolemy.kernel.util.KernelRuntimeException
                  extended byptolemy.domains.sr.kernel.UnknownTokenException
All Implemented Interfaces:
java.io.Serializable

public class UnknownTokenException
extends KernelRuntimeException

Thrown on an attempt to obtain information about an unknown token.

Since:
Ptolemy II 2.0
Version:
$Id: UnknownTokenException.java,v 1.10 2004/04/13 03:36:29 cxh Exp $
Author:
Paul Whitaker
See Also:
SRDirector, SRReceiver, Serialized Form
Accepted Rating:
Green (pwhitake)
Proposed Rating:
Green (pwhitake)

Constructor Summary
UnknownTokenException(Nameable object)
          Constructs an Exception with a detail message that is only the name of the argument.
UnknownTokenException(Nameable object, java.lang.String detail)
          Constructs an Exception with a detail message that includes the name of the first argument.
UnknownTokenException(java.lang.String detail)
          Constructs an Exception with a detail message.
 
Methods inherited from class ptolemy.kernel.util.KernelRuntimeException
_setCause, _setMessage, getCause, getMessage, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnknownTokenException

public UnknownTokenException(java.lang.String detail)
Constructs an Exception with a detail message.

Parameters:
detail - The message.

UnknownTokenException

public UnknownTokenException(Nameable object)
Constructs an Exception with a detail message that is only the name of the argument.

Parameters:
object - The object.

UnknownTokenException

public UnknownTokenException(Nameable object,
                             java.lang.String detail)
Constructs an Exception with a detail message that includes the name of the first argument.

Parameters:
object - The object.
detail - The message.