HP-UX Java SIP Stack Programmer's Guide (September 2007)
Table Of Contents
- HP-UX Java SIP Stack Programmer's Guide
- Table of Contents
- About This Document
- 1 Introduction
- 2 JSR32 JAIN SIP APIs
- 3 Creating an Application
- 4 Compiling and Running Applications Using the HP-UX JSR32 Kit
- 5 Troubleshooting HP JSR32 APIs
- Glossary
- Index

5 Troubleshooting HP JSR32 APIs
This chapter discusses the exceptions raised by the JSR32 APIs.
Table 5-1 lists the exceptions raised by the JSR32 APIs and their causes.
Table 5-1 JSR32 API Exceptions
CauseException Name
The javax.sip Exceptions
An application passes an invalid argument, such as an invalid
numerical value.
InvalidArgumentException
A method is unable to delete a specified object, because the
object is still in use by the underlying implementation.
ObjectInUseException
The implementation of the JAIN SIP interface could not be
created.
PeerUnavailableException
A general SIP exception is encountered. The specialized
exceptions defined in the JSR32 specification cannot handle
an error.
SipException
An application attempts to get a transaction to handle a
message when the transaction is already handling the message.
TransactionAlreadyExistsException
An application attempts to reference a client or server
transaction that does not exist in the SipProvider.
TransactionDoesNotExistException
The implementation cannot create a transaction
TransactionUnavailableException
A specific transport is not supported by an implementation
of this specification.
TransportNotSupportedException
A specific transport is already supported by a SipProvider
through its listening points.
TransportAlreadySupportedException
The javax.sip.header Exception
An application attempts to decrement the hop count when the
message has already reached its maximum number of
forwards.
TooManyHopsException
57