|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.services.discovery.ServiceNotAvailableException
@SASScope(value="ALL") @BinaryCompatibilityOnly public class ServiceNotAvailableException
Service is not available exception. This exception is thrown by the Discovery Service in the event that it is unable to locate a deployed service satisfying the requested service template.
Use getServiceTemplate() to retrieve the
requested service template.
| Constructor Summary | |
|---|---|
ServiceNotAvailableException()
Constructs an instance using a default exception message. |
|
ServiceNotAvailableException(ServiceTemplate serviceTemplate)
Constructs an instance using the service template for which a service was not available. |
|
ServiceNotAvailableException(ServiceTemplate serviceTemplate,
java.lang.Throwable throwable)
Constructs an instance by specifying a message and Throwable. |
|
ServiceNotAvailableException(java.lang.String message)
Constructs an instance using the specified exception message. |
|
ServiceNotAvailableException(java.lang.String message,
ServiceTemplate serviceTemplate)
Constructs an instance using the specified message and service template for which a service was not available. |
|
ServiceNotAvailableException(java.lang.String message,
java.lang.Throwable throwable,
ServiceTemplate serviceTemplate)
Constructs an instance by specifying a message, Throwable,
and service template for which a service was not available. |
|
ServiceNotAvailableException(java.lang.Throwable throwable,
java.lang.String message)
Constructs an instance by specifying a message and Throwable. |
|
| Method Summary | |
|---|---|
java.lang.String |
getMessage()
Gets an exception message detailing the service template that was desired, but not found in the currently deployed services. |
ServiceTemplate |
getServiceTemplate()
Gets the service capabilities that were sought, but not available. |
| Methods inherited from class com.sas.util.ChainedException |
|---|
chainContains, getRootException, getRootException, getTargetException, getTargetException, printStackTrace, printStackTrace, printStackTrace, toString, toStringBuffer |
| Constructor Detail |
|---|
public ServiceNotAvailableException()
public ServiceNotAvailableException(java.lang.String message)
message - Exception message.
public ServiceNotAvailableException(java.lang.Throwable throwable,
java.lang.String message)
Throwable.
message - Exception's message.throwable - Throwable that caused the exception.public ServiceNotAvailableException(ServiceTemplate serviceTemplate)
serviceTemplate - Service template that was requested, but not
available.
public ServiceNotAvailableException(java.lang.String message,
ServiceTemplate serviceTemplate)
message - Message detailing the exception.serviceTemplate - Service template that was requested, but not available.
public ServiceNotAvailableException(ServiceTemplate serviceTemplate,
java.lang.Throwable throwable)
Throwable.
serviceTemplate - Service template that was requested, but not available.throwable - Throwable that caused the exception.
public ServiceNotAvailableException(java.lang.String message,
java.lang.Throwable throwable,
ServiceTemplate serviceTemplate)
Throwable,
and service template for which a service was not available.
message - Exception's message.throwable - Throwable that caused the exception.serviceTemplate - Service template that was requested, but not available.| Method Detail |
|---|
public final ServiceTemplate getServiceTemplate()
public final java.lang.String getMessage()
getMessage in class java.lang.Throwable
|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||