Xindice API

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)
           
 
Method Summary
 java.lang.String getName()
           
 java.lang.String getValue()
           
 java.lang.String toString()
           
 
Methods inherited from class org.apache.xindice.util.XindiceException
getWrappedThrowable, printStackTrace, printStackTrace, printStackTrace
 
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
 

Constructor Detail

ParameterException

public ParameterException(java.lang.String name,
                          java.lang.String value,
                          java.lang.String message)
Method Detail

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

Xindice API

Copyright (c) 1999-2001 The Apache Software Foundation