| java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.xins.common.ProgrammingException
ProgrammingException | final public class ProgrammingException extends RuntimeException (Code) | | Exception thrown when a programming error is detected.
version: $Revision: 1.18 $ $Date: 2007/03/16 09:54:58 $ author: Ernst de Haan since: XINS 1.1.0 |
Constructor Summary | |
public | 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. |
ProgrammingException | public ProgrammingException(String detectingClass, String detectingMethod, String subjectClass, String subjectMethod, String detail, Throwable cause)(Code) | | Constructs a new ProgrammingException for the specified
class and method, indicating which class and method detected the
problem.
Parameters: detectingClass - the name of the class that detected the problem, ornull if unknown. Parameters: detectingMethod - the name of the method within the detectingClass thatdetected the problem, or null if unknown. Parameters: subjectClass - the name of the class which exposes the programming error, ornull if unknown. Parameters: subjectMethod - the name of the method (within the subjectClass ) whichexposes the programming error, or null if unknown. Parameters: detail - the detail message, can be null . Parameters: cause - the cause exception, can be null . |
getDetail | public String getDetail()(Code) | | Returns the detail message.
the detail message, can be null . since: XINS 1.3.0 |
getDetectingClass | public String getDetectingClass()(Code) | | Returns the name of the class that detected the problem.
the name of the class that detected the problem, or null if unknown. since: XINS 1.3.0 |
getDetectingMethod | public String getDetectingMethod()(Code) | | Returns the name of the method where the problem was detected.
the name of the method that detected the problem, ornull if unknown. since: XINS 1.3.0 |
getSubjectClass | public String getSubjectClass()(Code) | | Returns the name of the class which exposes the programming error.
the name of the class that exposed the problem, ornull if unknown. since: XINS 1.3.0 |
getSubjectMethod | public String getSubjectMethod()(Code) | | Returns the name of the method which exposes the programming error.
the name of the method that exposed the problem, ornull if unknown. since: XINS 1.3.0 |
|
|