Package jadex.bridge.service.search
Class ServiceNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jadex.bridge.service.search.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.
-
Constructor Summary
Constructors Constructor Description ServiceNotFoundException()
Create a new service not found exception.ServiceNotFoundException(ServiceQuery<?> query)
Create a new service not found exception.ServiceNotFoundException(java.lang.String message)
Create a new service not found exception.
-
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.
-
-
-
Field Detail
-
query
protected ServiceQuery<?> query
The failed query.
-
-
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 classjava.lang.Throwable
-
-