AdventNet WiFi Mediation API, v1.0

com.adventnet.wifi.mediation.exception
Class InvalidInputsException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.adventnet.wifi.mediation.exception.InvalidInputsException
All Implemented Interfaces:
java.io.Serializable

public class InvalidInputsException
extends java.lang.Exception

This exception is thrown when the inputs specified are not valid.

See Also:
Serialized Form

Constructor Summary
InvalidInputsException()
          Constructs a InvalidInputsException with null as its error message.
InvalidInputsException(java.lang.String arg0)
          Constructs a InvalidInputsException with arg0 as its error message.
InvalidInputsException(java.lang.Throwable throwable)
          Constructs a InvalidInputsException with its cause.
 
Method Summary
 void addErrorCode(int i)
          Internally used.
 java.util.ArrayList getErrList()
          Internally used, fetches the list of errors codes.
 int[] getErrors()
          Fetches the list of errors codes as an int array.
 void setErrList(java.util.ArrayList list)
          Internally used, sets the error list.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidInputsException

public InvalidInputsException()
Constructs a InvalidInputsException with null as its error message.


InvalidInputsException

public InvalidInputsException(java.lang.Throwable throwable)
Constructs a InvalidInputsException with its cause.

Parameters:
throwable - the throwable.

InvalidInputsException

public InvalidInputsException(java.lang.String arg0)
Constructs a InvalidInputsException with arg0 as its error message.

Parameters:
arg0 - the error message.
Method Detail

addErrorCode

public void addErrorCode(int i)
Internally used.

Parameters:
i - the error code.
See Also:
ErrorConstants

setErrList

public void setErrList(java.util.ArrayList list)
Internally used, sets the error list.

Parameters:
list - the list of error codes.

getErrList

public java.util.ArrayList getErrList()
Internally used, fetches the list of errors codes.

Returns:
the list of errors.
See Also:
ErrorConstants

getErrors

public int[] getErrors()
Fetches the list of errors codes as an int array.

Returns:
the list of errors.
See Also:
ErrorConstants

AdventNet WiFi Mediation API, v1.0

Copyright © 2005 AdventNet Inc. All Rights Reserved.