gov.nih.nci.caarray.services.external.v1_0
Class IncorrectEntityTypeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by gov.nih.nci.caarray.services.external.v1_0.ApiException
              extended by gov.nih.nci.caarray.services.external.v1_0.InvalidInputException
                  extended by gov.nih.nci.caarray.services.external.v1_0.InvalidReferenceException
                      extended by gov.nih.nci.caarray.services.external.v1_0.IncorrectEntityTypeException
All Implemented Interfaces:
java.io.Serializable

public class IncorrectEntityTypeException
extends InvalidReferenceException

Exception thrown to indicate that a passed in CaArrayEntityReference referred to an entity that was of a different type than expected by the service method.

Author:
dkokotov
See Also:
Serialized Form

Constructor Summary
IncorrectEntityTypeException(CaArrayEntityReference reference)
          Constructor for no cause.
IncorrectEntityTypeException(CaArrayEntityReference reference, java.lang.String message)
          Constructor with message.
 
Method Summary
 
Methods inherited from class gov.nih.nci.caarray.services.external.v1_0.InvalidReferenceException
getReference
 
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

IncorrectEntityTypeException

public IncorrectEntityTypeException(CaArrayEntityReference reference)
Constructor for no cause.

Parameters:
reference - the problematic reference

IncorrectEntityTypeException

public IncorrectEntityTypeException(CaArrayEntityReference reference,
                                    java.lang.String message)
Constructor with message.

Parameters:
reference - the problematic reference
message - message.