|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.xins.common.ProgrammingException
Exception thrown when a programming error is detected.
Constructor Summary | |
ProgrammingException(String detectingClass,
String detectingMethod,
String subjectClass,
String subjectMethod,
String detail,
Throwable cause)
Constructs a new ProgrammingException for the specified
class and method, indicating which class and method detected the
problem. |
Method Summary | |
String |
getDetail()
Returns the detail message. |
String |
getDetectingClass()
Returns the name of the class that detected the problem. |
String |
getDetectingMethod()
Returns the name of the method where the problem was detected. |
String |
getSubjectClass()
Returns the name of the class which exposes the programming error. |
String |
getSubjectMethod()
Returns the name of the method which exposes the programming error. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ProgrammingException(String detectingClass, String detectingMethod, String subjectClass, String subjectMethod, String detail, Throwable cause)
ProgrammingException
for the specified
class and method, indicating which class and method detected the
problem.
detectingClass
- the name of the class that detected the problem, or
null
if unknown.detectingMethod
- the name of the method within the detectingClass
that
detected the problem, or null
if unknown.subjectClass
- the name of the class which exposes the programming error, or
null
if unknown.subjectMethod
- the name of the method (within the subjectClass
) which
exposes the programming error, or null
if unknown.detail
- the detail message, can be null
.cause
- the cause exception, can be null
.Method Detail |
public String getDetectingClass()
null
if unknown.public String getDetectingMethod()
null
if unknown.public String getSubjectClass()
null
if unknown.public String getSubjectMethod()
null
if unknown.public String getDetail()
null
.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |