jasi.sim.basic
Class CouldNotCreateObjectException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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

Constructor Summary
CouldNotCreateObjectException(java.lang.Throwable cause, java.lang.String type)
          Constructor for CouldNotCreateObjectException.
CouldNotCreateObjectException(java.lang.Throwable cause, java.lang.String type, Id id)
          Constructor for CouldNotCreateObjectException.
 
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
 

Constructor Detail

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.
Method Detail

getType

public java.lang.String getType()
Get the type that could not be created.

Returns:
The type.