Class ServiceNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jadex.providedservice.impl.search.ServiceNotFoundException
- All Implemented Interfaces:
Serializable
Exception to denote that a requested service was not found.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreate a new service not found exception.ServiceNotFoundException
(ServiceQuery<?> query) Create a new service not found exception.ServiceNotFoundException
(String message) Create a new service not found exception. -
Method Summary
Modifier and TypeMethodDescriptionServiceQuery
<?> getQuery()
Get the failed query, if any.void
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
-
Field Details
-
query
The failed query.
-
-
Constructor Details
-
ServiceNotFoundException
public ServiceNotFoundException()Create a new service not found exception. -
ServiceNotFoundException
Create a new service not found exception. -
ServiceNotFoundException
Create a new service not found exception.
-
-
Method Details
-
getQuery
Get the failed query, if any. -
setQuery
Set the query.- Parameters:
query
- The query.
-
printStackTrace
public void printStackTrace()- Overrides:
printStackTrace
in classThrowable
-