An attempt to add an item with no name to a named list.
- Since:
- Ptolemy II 0.2
- Version:
- $Id: IllegalActionException.java,v 1.31 2004/04/13 03:43:35 cxh Exp $
- Author:
- Edward A. Lee, Christopher Hylands
- See Also:
- Serialized Form
- Accepted Rating:
- Proposed Rating:
|
Constructor Summary |
IllegalActionException(Nameable object)
Construct an exception with a detail message that is only the
name of the argument. |
IllegalActionException(Nameable object1,
Nameable object2)
Construct an exception with a detail message that consists of
only the names of the object1 and object2 arguments. |
IllegalActionException(Nameable object1,
Nameable object2,
java.lang.String detail)
Construct an exception with a detail message that includes the
names of the first two arguments plus the third argument
string. |
IllegalActionException(Nameable object1,
Nameable object2,
java.lang.Throwable cause,
java.lang.String detail)
Construct an exception with a detail message that includes the
names of the first two arguments plus the third argument
string. |
IllegalActionException(Nameable object,
java.lang.String detail)
Construct an exception with a detail message that includes the
name of the first argument. |
IllegalActionException(Nameable object,
java.lang.Throwable cause,
java.lang.String detail)
Construct an exception with a detail message that includes the
name of the first argument. |
IllegalActionException(java.lang.String detail)
Construct an exception with a detail message. |
| Methods inherited from class ptolemy.kernel.util.KernelException |
_setCause, _setMessage, generateMessage, generateMessage, generateMessage, getCause, getFullName, getMessage, getName, printStackTrace, printStackTrace, printStackTrace, stackTraceToString |
| 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 |
IllegalActionException
public IllegalActionException(java.lang.String detail)
- Construct an exception with a detail message.
- Parameters:
detail - The message.
IllegalActionException
public IllegalActionException(Nameable object)
- Construct an exception with a detail message that is only the
name of the argument.
- Parameters:
object - The object.
IllegalActionException
public IllegalActionException(Nameable object,
java.lang.String detail)
- Construct an exception with a detail message that includes the
name of the first argument.
- Parameters:
object - The object.detail - The message.
IllegalActionException
public IllegalActionException(Nameable object,
java.lang.Throwable cause,
java.lang.String detail)
- Construct an exception with a detail message that includes the
name of the first argument.
- Parameters:
object - The object.cause - The cause of this exception, or null if the cause
is not known or nonexistent.detail - The message.
IllegalActionException
public IllegalActionException(Nameable object1,
Nameable object2)
- Construct an exception with a detail message that consists of
only the names of the object1 and object2 arguments. If one
or more of the parameters are null, then the message of the
exception is adjusted accordingly.
- Parameters:
object1 - The first object.object2 - The second object.
IllegalActionException
public IllegalActionException(Nameable object1,
Nameable object2,
java.lang.String detail)
- Construct an exception with a detail message that includes the
names of the first two arguments plus the third argument
string. If one or more of the parameters are null, then the
message of the exception is adjusted accordingly.
- Parameters:
object1 - The first object.object2 - The second object.detail - The message.
IllegalActionException
public IllegalActionException(Nameable object1,
Nameable object2,
java.lang.Throwable cause,
java.lang.String detail)
- Construct an exception with a detail message that includes the
names of the first two arguments plus the third argument
string. If the cause argument is non-null, then the message
of this exception will include the message of the cause
argument. The stack trace of the cause argument is used when
we print the stack trace of this exception. If one or more of
the parameters are null, then the message of the exception is
adjusted accordingly.
- Parameters:
object1 - The first object.object2 - The second object.cause - The cause of this exception, or null if the cause
is not known or nonexistent.detail - The message.