A plugin for Netbeans 7.4
<dependency>
<groupId>pl.wavesoftware</groupId>
<artifactId>netbeans-eid-generator</artifactId>
<version>0.2.0</version>
<type>nbm</type>
</dependency>
Generates a unique Exception ID, that can be used in Java source code.
In order to use this plugin type Ctrl+Space
inside empty String literal. This will generate new unique identifier as a Code Completion. That generated EID can be used, for example, to identify your exceptions.
This is technical runtime exception, a posible bug. EID Generator plugin can be used to quickly fill unique bug id.
try {
shuldWorkIfNoBugsExists();
} catch (IOException ex) {
throw new EidRuntimeException("20140218:161429", "Something wrong with HDD, permissions?", ex);
}
To invoke EID code completion:
throw new EidRuntimeException("<Ctrl+Space>"