org.apache.tuscany.common.monitor.impl
Class InvalidLevelException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.apache.tuscany.common.monitor.impl.InvalidLevelException
- All Implemented Interfaces:
- java.io.Serializable
public class InvalidLevelException
- extends java.lang.IllegalArgumentException
Exception indicating an invalid log level has been passed.
- Version:
- $Rev: 388691 $ $Date: 2006-03-24 21:57:28 -0500 (Fri, 24 Mar 2006) $
- See Also:
- Serialized Form
Constructor Summary |
InvalidLevelException(java.lang.String method,
java.lang.String level)
Constructor specifying the method name and the level affected. |
Method Summary |
java.lang.String |
getLevel()
Returns the invalid log level specified. |
java.lang.String |
getMessage()
|
java.lang.String |
getMethod()
Returns the name of the method being monitored. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
InvalidLevelException
public InvalidLevelException(java.lang.String method,
java.lang.String level)
- Constructor specifying the method name and the level affected.
- Parameters:
method
- the name of the method being monitoredlevel
- the invalid log level value
getMethod
public java.lang.String getMethod()
- Returns the name of the method being monitored.
- Returns:
- the name of the method being monitored
getLevel
public java.lang.String getLevel()
- Returns the invalid log level specified.
- Returns:
- the invalid log level that was specified
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in class java.lang.Throwable
-