Exception ID (EID) Generator

<p>Generates a unique Exception ID, that can be used in Java source code.</p> <p>In order to use this plugin type <code>Ctrl+Space</code> inside empty String literal. This will generate new unique identifier as a <i>Code Completion</i>. That generated EID can be used, for example, to identify your exceptions.</p> <p> Example usage (This is technical runtime exception, a posible bug. This plugin can be used to quickly fill unique bug id.):<br /> <code>try {<br /> &nbsp;&nbsp;&nbsp;&nbsp;shuldWorkIfNoBugsExists();<br /> } catch (IOException ex) {<br /> &nbsp;&nbsp;&nbsp;&nbsp;throw new EidRuntimeException("20140218:161429", "Something wrong with HDD, permissions?", ex);<br /> }</code> </p>

License

License

Categories

Categories

NetBeans Development Tools IDE Net
GroupId

GroupId

pl.wavesoftware
ArtifactId

ArtifactId

netbeans-eid-generator
Last Version

Last Version

0.4.0
Release Date

Release Date

Type

Type

nbm
Description

Description

Exception ID (EID) Generator
<p>Generates a unique Exception ID, that can be used in Java source code.</p> <p>In order to use this plugin type <code>Ctrl+Space</code> inside empty String literal. This will generate new unique identifier as a <i>Code Completion</i>. That generated EID can be used, for example, to identify your exceptions.</p> <p> Example usage (This is technical runtime exception, a posible bug. This plugin can be used to quickly fill unique bug id.):<br /> <code>try {<br /> &nbsp;&nbsp;&nbsp;&nbsp;shuldWorkIfNoBugsExists();<br /> } catch (IOException ex) {<br /> &nbsp;&nbsp;&nbsp;&nbsp;throw new EidRuntimeException("20140218:161429", "Something wrong with HDD, permissions?", ex);<br /> }</code> </p>
Project URL

Project URL

https://github.com/wavesoftware/eid-generator
Project Organization

Project Organization

Wave Software
Source Code Management

Source Code Management

https://github.com/wavesoftware/eid-generator

Download netbeans-eid-generator

Dependencies

compile (8)

Group / Artifact Type Version
org.netbeans.api : org-netbeans-api-annotations-common jar RELEASE81
org.netbeans.api : org-netbeans-modules-editor-completion jar RELEASE81
org.netbeans.api : org-openide-util jar RELEASE81
org.netbeans.api : org-openide-util-ui jar RELEASE81
org.netbeans.api : org-openide-util-lookup jar RELEASE81
org.netbeans.api : org-netbeans-modules-options-api jar RELEASE81
org.netbeans.api : org-openide-awt jar RELEASE81
pl.wavesoftware : eid-exceptions jar 1.1.0

test (2)

Group / Artifact Type Version
junit : junit jar 4.12
org.mockito : mockito-core jar 1.10.19

Project Modules

There are no modules declared in this project.

Exception ID (EID) Generator

Build Status

A plugin for Netbeans 8.1

Download

http://plugins.netbeans.org/plugin/53137/exception-id-eid-generator

Maven

<dependency>
    <groupId>pl.wavesoftware</groupId>
    <artifactId>netbeans-eid-generator</artifactId>
    <version>0.4.0</version>
    <type>nbm</type>
</dependency>

Usage

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.

Example

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>"
pl.wavesoftware

Wave Software

Versions

Version
0.4.0
0.2.0