|
JBoss Remoting 3.1.0.Beta1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
org.jboss.remoting3.RemotingException
org.jboss.remoting3.ServiceOpenException
org.jboss.remoting3.ServiceNotFoundException
public class ServiceNotFoundException

Service not found. This exception is thrown when a service is looked up which is not registered anywhere.
| Constructor Summary | |
|---|---|
ServiceNotFoundException(URI uri)
Constructs a ServiceNotFoundException with no detail message. |
|
ServiceNotFoundException(URI uri,
String msg)
Constructs a ServiceNotFoundException with the specified detail message. |
|
ServiceNotFoundException(URI uri,
String msg,
Throwable cause)
Constructs a ServiceNotFoundException with the specified detail message and cause. |
|
ServiceNotFoundException(URI uri,
Throwable cause)
Constructs a ServiceNotFoundException with the specified cause. |
|
| Method Summary | |
|---|---|
String |
getMessage()
Returns the detail message string of this throwable. |
URI |
getServiceUri()
Get the service URI which could not be found. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, 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 |
|---|
public ServiceNotFoundException(URI uri)
initCause.
uri - the service URI that could not be found
public ServiceNotFoundException(URI uri,
String msg)
initCause.
uri - the service URI that could not be foundmsg - the detail message
public ServiceNotFoundException(URI uri,
Throwable cause)
(cause == null ? null : cause.toString())(which typically contains the class and detail message of cause).
uri - the service URI that could not be foundcause - the cause (which is saved for later retrieval by the Throwable.getCause() method)
public ServiceNotFoundException(URI uri,
String msg,
Throwable cause)
uri - the service URI that could not be foundmsg - the detail messagecause - the cause (which is saved for later retrieval by the Throwable.getCause() method)| Method Detail |
|---|
public URI getServiceUri()
public String getMessage()
getMessage in class Throwable
|
JBoss Remoting 3.1.0.Beta1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||