| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.provisioner.requests.Request
net.sf.provisioner.requests.FailedRequest
public class FailedRequest
A request that performs no operation when sendRequest is called, then returns a response object with a custom error message. The message typically details user configuration errors (e.g. no network element name specified.)
| Constructor Summary | |
|---|---|
| FailedRequest(java.lang.String errorMessage)Creates a FailedRequest with a custom error message. | |
| Method Summary | |
|---|---|
|  Response | sendRequest()Returns a failed response containing the error message passed to the constructor. | 
| Methods inherited from class net.sf.provisioner.requests.Request | 
|---|
| filterElements, filterParameters, storeParameter, storeParameter | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public FailedRequest(java.lang.String errorMessage)
the - human-readable reason for the request's failure.| Method Detail | 
|---|
public Response sendRequest()
                     throws java.lang.Exception
sendRequest in class Requestjava.lang.Exception| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||