org.apache.xindice.server
Class ParameterException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--org.apache.xindice.util.XindiceException
|
+--org.apache.xindice.server.ParameterException
- All Implemented Interfaces:
- java.io.Serializable
- public class ParameterException
- extends XindiceException
A ParameterException is thrown in cases where a supplied parameter
is, for some reason, invalid. ScriptComponents throw this exception
in response to the setParams method. The User class throws
this exception as a result of an invalid username or password setting.
- See Also:
ResourceManager.setResource(org.apache.xindice.server.Versioning, java.lang.String, java.lang.Object)
,
User.setUsername(java.lang.String)
,
User.setPassword(java.lang.String)
, Serialized Form
Constructor Summary |
ParameterException(java.lang.String name,
java.lang.String value,
java.lang.String message)
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ParameterException
public ParameterException(java.lang.String name,
java.lang.String value,
java.lang.String message)
getName
public java.lang.String getName()
getValue
public java.lang.String getValue()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Throwable
Copyright (c) 1999-2001 The Apache Software Foundation