Class SearchExceptionUtil


  • public class SearchExceptionUtil
    extends Object
    SearchExceptionUtil encapsulates the logic for throwing a Search Exception
    • Method Detail

      • buildNewInvalidSearchException

        public static FHIRSearchException buildNewInvalidSearchException​(String msg)
        creates an invalid search exception.
        Parameters:
        msg -
        Returns:
      • buildNewParseParameterException

        public static FHIRSearchException buildNewParseParameterException​(String name,
                                                                          Exception e)
        creates a new parse parameter exception
        Parameters:
        name -
        e -
        Returns:
      • buildNewChainedParameterException

        public static FHIRSearchException buildNewChainedParameterException​(String name,
                                                                            Exception e)
        creates a new chained parameter exception
        Parameters:
        name -
        e -
        Returns:
      • buildNewIllegalStateException

        public static IllegalStateException buildNewIllegalStateException()
        builds an illegal state exception for a search filter execution
        Returns:
      • buildNewIllegalArgumentException

        public static IllegalArgumentException buildNewIllegalArgumentException​(String val)
        builds an illegal Argument exception.
        Parameters:
        val -
        Returns:
      • buildNewDateTimeFormatException

        public static FHIRSearchException buildNewDateTimeFormatException​(Exception e)
        build data time format exception
        Parameters:
        exception - e
        Returns: