|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.exceptions.report.data.SourceInfo
public final class SourceInfo
Contains information about the source a exception code is defined in.
Constructor Summary | |
---|---|
SourceInfo(String elementName, int lineNumber) Default constructor. |
Method Summary | |
---|---|
String |
getElementName() Returns the name of the element that defines the exception code. |
int |
getLineNumber() Returns the line number where the exception code declaration begins. |
String |
toString() Returns the string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SourceInfo(String elementName, int lineNumber) throws de.smartics.util.lang.BlankArgumentException
elementName
- the name of the element that defines the exception code.
lineNumber
- the line number where the exception code declaration begins.
de.smartics.util.lang.BlankArgumentException
- if
elementName
is blank.
Method Detail |
---|
public String getElementName()
public int getLineNumber()
public String toString()
toString
in class
Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |