NIST SIP Parser and Stack (v1.2) API

javax.sip
Class InvalidArgumentException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--javax.sip.InvalidArgumentException
All Implemented Interfaces:
Serializable

public class InvalidArgumentException
extends Exception

This exception class is thrown by an implementation when given an invalid argument such as a invalid numerical value.

See Also:
Serialized Form

Constructor Summary
InvalidArgumentException()
          Create an InvalidArgumentException with no detail message.
InvalidArgumentException(String message)
          Create an InvalidArgumentException with a detail message.
InvalidArgumentException(String message, Throwable cause)
          Constructs a new InvalidArgumentException with the specified error message and specialized cause that triggered this error condition.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidArgumentException

public InvalidArgumentException()
Create an InvalidArgumentException with no detail message.


InvalidArgumentException

public InvalidArgumentException(String message)
Create an InvalidArgumentException with a detail message.

Parameters:
message - the detail message.

InvalidArgumentException

public InvalidArgumentException(String message,
                                Throwable cause)
Constructs a new InvalidArgumentException with the specified error message and specialized cause that triggered this error condition.

Parameters:
message - the detail of the error message
cause - the specialized cause that triggered this exception

NIST SIP Parser and Stack (v1.2) API

A product of the NIST/ITL Advanced Networking Technologies Division.
See conditions of use.
Get the latest distribution.
Submit a bug report or feature request.