Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.
Issue-ID: AAF-982
Change-Id: I91d81ff24dbbf435f1f064675902beb61fa8fb06
Signed-off-by: anushadasari <danush10@in.ibm.com>
* to do Versions and Content switches
*
*/
- public void route(HttpMethods meth, String path, API api, HttpCode<AuthzTrans, AAF_Hello> code) throws Exception {
+ public void route(HttpMethods meth, String path, API api, HttpCode<AuthzTrans, AAF_Hello> code){
String version = "1.0";
// Get Correct API Class from Mapper
route(env,meth,path,code,"text/plain;version="+version,"*/*");