gov.nasa.arc.brahms.vm.api.exceptions
Class InvalidTypeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by gov.nasa.arc.brahms.common.exceptions.BrahmsException
              extended by gov.nasa.arc.brahms.vm.api.exceptions.ExternalException
                  extended by gov.nasa.arc.brahms.vm.api.exceptions.InvalidTypeException
All Implemented Interfaces:
java.io.Serializable

public class InvalidTypeException
extends ExternalException

The InvalidTypeException is an exception thrown when a user tries to assign a value to a typed element that is of an incompatible type or when the user tries to retrieve a value using a method that return a value of a type not compatible with the type of the value to be returned.

See Also:
Serialized Form

Constructor Summary
InvalidTypeException()
          Constructor, creates a new InvalidTypeException with no detail message
InvalidTypeException(java.lang.String message)
          Constructor, creates a new InvalidTypeException with the given detail message
InvalidTypeException(java.lang.String message, java.lang.Throwable t)
          Constructor, creates a new InvalidTypeException with the given detail message wrapping the given exception
InvalidTypeException(java.lang.Throwable t)
          Constructor, creates a new InvalidTypeException with the given linked exception
 
Method Summary
 
Methods inherited from class gov.nasa.arc.brahms.common.exceptions.BrahmsException
getLinkedException, printStackTrace, printStackTrace, printStackTrace, setLinkedException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidTypeException

public InvalidTypeException()
Constructor, creates a new InvalidTypeException with no detail message


InvalidTypeException

public InvalidTypeException(java.lang.String message)
Constructor, creates a new InvalidTypeException with the given detail message

Parameters:
message - the detail message

InvalidTypeException

public InvalidTypeException(java.lang.Throwable t)
Constructor, creates a new InvalidTypeException with the given linked exception

Parameters:
t - the Throwable to be linked to this exception

InvalidTypeException

public InvalidTypeException(java.lang.String message,
                            java.lang.Throwable t)
Constructor, creates a new InvalidTypeException with the given detail message wrapping the given exception

Parameters:
message - the detail message
t - the Throwable to be linked to this exception