|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.richclient.application.ServiceNotFoundException
public class ServiceNotFoundException
Indicates that an application service of a given type could not be found.
Constructor Summary | |
---|---|
ServiceNotFoundException(Class serviceClass)
Creates a new ServiceNotFoundException . |
|
ServiceNotFoundException(String message,
Class serviceClass)
Creates a new ServiceNotFoundException with the given detail
message and nested exception. |
|
ServiceNotFoundException(String message,
Class serviceClass,
Throwable cause)
Creates a new ServiceNotFoundException with the given detail
message and nested exception. |
Method Summary | |
---|---|
Class |
getServiceClass()
Returns class of the application service that could not be located. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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(Class serviceClass)
ServiceNotFoundException
. A default message
containing the name of the given class will be used.
serviceClass
- The class of the application service that could not
be located.public ServiceNotFoundException(String message, Class serviceClass)
ServiceNotFoundException
with the given detail
message and nested exception.
message
- The detail message.serviceClass
- The class of the application service that could not
be located.cause
- An optional nested exception that occurred attempting to
locate the service.public ServiceNotFoundException(String message, Class serviceClass, Throwable cause)
ServiceNotFoundException
with the given detail
message and nested exception.
message
- The detail message.serviceClass
- The class of the application service that could not
be located.cause
- An optional nested exception that occurred attempting to
locate the service.Method Detail |
---|
public Class getServiceClass()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |