Class ServiceNotFoundException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ServiceNotFoundException
    extends java.lang.RuntimeException
    Exception to denote that a requested service was not found.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected ServiceQuery<?> query
      The failed query.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ServiceQuery<?> getQuery()
      Get the failed query, if any.
      void printStackTrace()  
      void setQuery​(ServiceQuery<?> query)
      Set the query.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

    • Constructor Detail

      • ServiceNotFoundException

        public ServiceNotFoundException()
        Create a new service not found exception.
      • ServiceNotFoundException

        public ServiceNotFoundException​(ServiceQuery<?> query)
        Create a new service not found exception.
      • ServiceNotFoundException

        public ServiceNotFoundException​(java.lang.String message)
        Create a new service not found exception.
    • Method Detail

      • getQuery

        public ServiceQuery<?> getQuery()
        Get the failed query, if any.
      • setQuery

        public void setQuery​(ServiceQuery<?> query)
        Set the query.
        Parameters:
        query - The query.
      • printStackTrace

        public void printStackTrace()
        Overrides:
        printStackTrace in class java.lang.Throwable