jasi.sim.basic
Class CouldNotCreateObjectException
java.lang.Object
java.lang.Throwable
java.lang.Exception
jasi.sim.basic.CouldNotCreateObjectException
- All Implemented Interfaces:
- java.io.Serializable
public class CouldNotCreateObjectException
- extends java.lang.Exception
An element could not be created.
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
getType()
Get the type that could not be created. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CouldNotCreateObjectException
public CouldNotCreateObjectException(java.lang.Throwable cause,
java.lang.String type)
- Constructor for CouldNotCreateObjectException.
- Parameters:
cause
- The cause of the exception.type
- The element type.
CouldNotCreateObjectException
public CouldNotCreateObjectException(java.lang.Throwable cause,
java.lang.String type,
Id id)
- Constructor for CouldNotCreateObjectException.
- Parameters:
cause
- The cause of the exception.type
- The element type.id
- The element id.
getType
public java.lang.String getType()
- Get the type that could not be created.
- Returns:
- The type.