Class GovernanceExceptionHandler

java.lang.Object
org.wso2.carbon.governance.rest.api.internal.GovernanceExceptionHandler
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<org.wso2.carbon.governance.api.exception.GovernanceException>

public class GovernanceExceptionHandler extends Object implements javax.ws.rs.ext.ExceptionMapper<org.wso2.carbon.governance.api.exception.GovernanceException>
  • Constructor Details

    • GovernanceExceptionHandler

      public GovernanceExceptionHandler()
  • Method Details

    • toResponse

      public javax.ws.rs.core.Response toResponse(org.wso2.carbon.governance.api.exception.GovernanceException exception)
      Specified by:
      toResponse in interface javax.ws.rs.ext.ExceptionMapper<org.wso2.carbon.governance.api.exception.GovernanceException>