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

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

public class UnsupportedCategoryException
extends InvalidInputException

Exception thrown to indicate that a category used in an AnnotationCriterion is not currently supported.

Author:
dkokotov
See Also:
Serialized Form

Constructor Summary
UnsupportedCategoryException(CaArrayEntityReference category)
          Constructor for no cause.
UnsupportedCategoryException(CaArrayEntityReference category, java.lang.String msg)
          Constructor for no cause.
 
Method Summary
 CaArrayEntityReference getCategory()
           
 
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

UnsupportedCategoryException

public UnsupportedCategoryException(CaArrayEntityReference category)
Constructor for no cause.

Parameters:
category - the reference to the category that is not supported

UnsupportedCategoryException

public UnsupportedCategoryException(CaArrayEntityReference category,
                                    java.lang.String msg)
Constructor for no cause.

Parameters:
category - the reference to the category that is not supported
msg - a message with more information about the exception
Method Detail

getCategory

public CaArrayEntityReference getCategory()
Returns:
the category that is not supported