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

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.InvalidContentTypeException
All Implemented Interfaces:
java.io.Serializable

public class InvalidContentTypeException
extends ExternalException

The InvalidContentTypeException is an exception thrown by a parameter if the user tries to retrieve a value using a method that does not match the content type of the parameter.

See Also:
Serialized Form

Constructor Summary
InvalidContentTypeException()
          Constructor, creates a new InvalidContentTypeException with no detail message
InvalidContentTypeException(java.lang.String message)
          Constructor, creates a new InvalidContentTypeException with the given detail message
InvalidContentTypeException(java.lang.String message, java.lang.Throwable t)
          Constructor, creates a new InvalidContentTypeException with the given detail message wrapping the given exception
InvalidContentTypeException(java.lang.Throwable t)
          Constructor, creates a new InvalidContentTypeException 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

InvalidContentTypeException

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


InvalidContentTypeException

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

Parameters:
message - the detail message

InvalidContentTypeException

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

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

InvalidContentTypeException

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

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