Monday, November 23, 2020

Create Sonar Plugin - Plugin exception class

 you can create your own exception class. Here is a sample of a exception class with message only.


package com.plugin.sonar.exception;

public class FooPluginException extends Exception {
public FooPluginException(String errorMsg) {
super(errorMsg);
}
}

No comments:

Post a Comment