|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.exceptions.report.data.ExceptionCodeMapping
public class ExceptionCodeMapping
Mapping of code to message parameters descriptors (i.e. exception classes) QDox class.
Constructor Summary | |
---|---|
ExceptionCodeMapping() Default constructor. |
Method Summary | |
---|---|
PlaceHolderInfo |
getPlaceHolderInfo(com.thoughtworks.qdox.model.JavaClass codesEnumeration) Determines the place holder information from the code enumeration type. |
PlaceHolderInfo |
getPlaceHolderInfo(com.thoughtworks.qdox.model.JavaField codeEnum, PlaceHolderInfo defaultPlaceholderInfo) Determines the place holder information from the code instance in the enumeration. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExceptionCodeMapping()
Method Detail |
---|
public PlaceHolderInfo getPlaceHolderInfo(com.thoughtworks.qdox.model.JavaClass codesEnumeration) throws NullPointerException
codesEnumeration
- the enumeration type to analyze.
empty instance
if none has been found or the class containing the placeholder information cannot be analyzed.
NullPointerException
- if
codesEnumeration
is
null
.
public PlaceHolderInfo getPlaceHolderInfo(com.thoughtworks.qdox.model.JavaField codeEnum, PlaceHolderInfo defaultPlaceholderInfo) throws NullPointerException
codeEnum
- the field to analyze.
defaultPlaceholderInfo
- the default info to return if none is found.
empty instance
if none has been found or the class containing the placeholder information cannot be analyzed.
NullPointerException
- if
fieldDoc
is
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |