Jtest logo




Contents  Previous  Next  Index

NAMING.NE


Enforce name format of exceptions

Description

This rule flags any exception that has an unconventional name format.

Most programmers or groups of programmers develop a set of naming rules for exceptions. Jtest will enforce the name format of the exception using a regular expression.

Example

 package NAMING;
 
 public class NE extends RuntimeException {
 }

Repair

Change the name of the exception to match the regular expression.


Contents  Previous  Next  Index

ParaSoft logo
(888) 305-0041 info@parasoft.com Copyright © 1996-2001 ParaSoft