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:
- Serializable
public class InvalidLevelException
- extends IllegalArgumentException
Exception indicating an invalid log level has been passed.
- Version:
- $Rev: 408581 $ $Date: 2006-05-21 23:34:24 -0700 (Sun, 21 May 2006) $
- See Also:
- Serialized Form
InvalidLevelException
public InvalidLevelException(String method,
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 String getMethod()
- Returns the name of the method being monitored.
- Returns:
- the name of the method being monitored
getLevel
public String getLevel()
- Returns the invalid log level specified.
- Returns:
- the invalid log level that was specified
getMessage
public String getMessage()
- Overrides:
getMessage
in class Throwable
-