|
|||||||||||
| 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
|
+--uk.org.ogsadai.activity.files.regexp.RegexpException
Wrapper class for exceptions which may arise from classes dealing with regular expressions.
| Constructor Summary | |
RegexpException(int num,
org.apache.log4j.Logger logger)
Construct a new exception, based on a particular message from the message bundle. |
|
RegexpException(int num,
java.lang.Object[] params,
org.apache.log4j.Logger logger)
Construct a new exception, based on a particular message from the message bundle. |
|
| Method Summary | |
org.apache.log4j.Logger |
getLogger()
Return the logger object. |
java.lang.String |
getMessage()
Return the exception's message in the default language. |
int |
getNum()
Return the index of the message number. |
java.lang.Object[] |
getParams()
Return the parameters of this message. |
java.lang.String |
toString()
Return a string representation of this exception. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public RegexpException(int num,
java.lang.Object[] params,
org.apache.log4j.Logger logger)
num - the index of the message in the message bundleparams - the parameters of the messagelogger - the logger object to log this exception to
public RegexpException(int num,
org.apache.log4j.Logger logger)
num - the index of the message in the message bundlelogger - the logger object to log this exception to| Method Detail |
public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic java.lang.String toString()
toString in class java.lang.Throwablepublic org.apache.log4j.Logger getLogger()
public int getNum()
public java.lang.Object[] getParams()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||