Exceptions
 
Exceptions
The following exceptions may be raised by Rogue Wave® Server when appropriate.
IlsException
IlsUtilityException
IlsNullPointerDereferencing
IlsNotFound
IlsEndOfList
IlsClearingOpenTable
IlsAlreadyInTable
IlsAddingToOpenTable
IlsRemovingFromOpenTable
IlsForbiddenOnEmptyList
IlsBeginningOfList
IlsModelException
IlsNullPointerEncountered
IlsAlreadyInDictionary
IlsUpdateForbidden
IlsAlreadyInserted
IlsOwnershipCycle
IlsUnOwnedUse
IlsMinCardViolated
IlsMaxCardViolated
IlsSizeViolation
IlsCycle
IlsAlreadyInSet
IlsMTException
IlsThreadException
IlsCantCreateThreadException
IlsCantJoinThreadException
IlsCantSetThreadPriority
IlsCantGetThreadPriority
IlsMutexException
IlsCantCreateMutexException
IlsMutexNotLockedException
IlsMutexNotLockOwnerException
IlsConditionException
IlsCantCreateConditionException
IlsCantWaitOnConditionException
IlsRWLockException
llsHasWriteLockException
IlsHasReadLockException
IlsNoRWLockException
IlsMvComponentException
IlsInvalidCollector
IlsOnExitException
IlsStringException
IlsInvalidStringException
IlsAddingToOpenTable
IlsAddingToOpenTable;
See Also 
IlsDictionary
IlsAlreadyInDictionary
IlsAlreadyInDictionary;
See Also 
IlsDictionary, IlsEntity
IlsAlreadyInserted
IlsAlreadyInserted;
See Also 
IlsOwns, IlsOwnsDynamicArray::Partial, IlsOwnsFixedArray::Partial
IlsAlreadyInSet
IlsAlreadyInSet;
See Also 
IlsOwnsSet, IlsUsesSet
IlsAlreadyInTable
IlsAlreadyInTable;
See Also 
IlsDictionary
IlsBeginningOfList
IlsBeginningOfList;
See Also 
IlsInvertedRelationList::Iterator, IlsOwnsList::Iterator, IlsUsesList::Iterator
IlsCantCreateConditionException
IlsCantCreateConditionException;
This exception is thrown when the portable library cannot create a new condition variable. The method getMessage can be used on the exception to retrieve the system-dependent message as shown below:
try {
IlsCond c;
}
catch (IlsCantCreateConditionException exc) { // get the message
const char* reason = exc.getMessage();
}
See Also 
IlsCond
IlsCantCreateMutexException
IlsCantCreateMutexException;
This exception is thrown when the portable library cannot create a new mutex. The method getMessage can be used on the exception to retrieve the system-dependent message as shown below:
try {
IlsUnsafeMutex m;
}
catch (IlsCantCreateMutexException exc) { // get the message
const char* reason = exc.getMessage();
}
See Also 
IlsSafeMutex, IlsUnsafeMutex
IlsCantCreateThreadException
IlsCantCreateThreadException;
This exception is thrown when the portable library cannot create a new thread. The method getMessage can be used on the exception to retrieve the system-dependent message as shown below:
try {
IlsThread t();
}
catch (IlsCantCreateThreadException exc) { // get the message
const char* reason = exc.getMessage();
}
See Also 
IlsThread
IlsCantGetThreadPriority
IlsCantGetThreadPriority;
This exception is thrown when the system fails to get the priority of a thread. The method getMessage can be used on the exception to retrieve the system-dependent message.
See Also 
IlsThread
IlsCantJoinThreadException
IlsCantJoinThreadException;
This exception is thrown when the system fails to join to a thread. The method getMessage can be used on the exception to retrieve the system-dependent message.
See Also 
IlsThread
IlsCantSetThreadPriority
IlsCantSetThreadPriority;
This exception is thrown when the system fails to set the priority of a thread. The method getMessage can be used on the exception to retrieve the system-dependent message.
See Also 
IlsThread
IlsCantWaitOnConditionException
IlsCantWaitOnConditionException;
This exception is thrown when the method wait on a condition variable fails. The method getMessage can be used on the exception to retrieve the system-dependent message.
See Also 
IlsCond
IlsClearingOpenTable
IlsClearingOpenTable;
See Also 
IlsDictionary
IlsConditionException
IlsConditionException;
This is the base class for all exceptions thrown by a condition variable in the portable thread library.
See Also 
IlsCond
IlsCycle
IlsCycle;
See Also 
IlsDerived, IlsReevaluate
IlsEndOfList
IlsEndOfList;
See Also 
IlsInvertedRelationList, IlsInvertedRelationList::Iterator, IlsOwnsList, IlsOwnsList::Iterator, IlsUsesList, IlsUsesList::Iterator
IlsException
IlsException;
This is the base class for all Rogue Wave Server exceptions.
See Also 
IlsException
IlsForbiddenOnEmptyList
IlsForbiddenOnEmptyList;
See Also 
IlsInvertedRelationList, IlsOwnsList, IlsUsesList
IlsHasReadLockException
IlsHasReadLockException;
This exception is thrown when a writer lock is taken on a readers/writer lock but the thread already has a reader lock.
See Also 
IlsRWLock
llsHasWriteLockException
IlsHasWriteLockException;
This exception is thrown when a reader lock is taken on a readers/writer lock but the thread already has a writer lock.
See Also 
IlsRWLock
IlsInvalidCollector
IlsInvalidCollector
When an application component creates a representation object that will be inserted into a collection owned by another representation object—which means that the second constructor of the class IlsRpObject is used— this exception is thrown if the object model is not compatible with the collector.
See Also 
IlsRpObject
IlsInvalidStringException
IlsInvalidStringException;
This exception is raised by the class IlsString if the multibyte string being manipulated is invalid. The normal cause of this error is that a multibyte sequence is not complete so that the system call mblen returns -1. This class derives from IlsStringException.
IlsMaxCardViolated
IlsMaxCardViolated;
See Also 
IlsInvertedRelationList, IlsInvertedRelationList::Iterator, IlsOwnsList, IlsOwnsList::Iterator, IlsUsesList, IlsUsesList::Iterator
IlsMinCardViolated
IlsMinCardViolated;
See Also 
IlsInvertedRelationList, IlsInvertedRelationList::Iterator, IlsOwnsList, IlsOwnsList::Iterator, IlsUsesList, IlsUsesList::Iterator
IlsModelException
IlsModelException;
This is the base class for all exceptions raised by the modeling services.
See Also 
IlsException
IlsMTException
IlsMTException;
This is the base class for all exceptions in the portable thread library. Exceptions are only thrown in the portable thread library if specifically requested.
See Also 
IlsThread
IlsMutexException
IlsMutexException;
This is the base class for all exceptions thrown by a mutex in the portable thread library.
See Also 
IlsSafeMutex, IlsUnsafeMutex
IlsMutexNotLockedException
IlsMutexNotLockedException;
This exception is thrown when a mutex that is not locked is unlocked.
See Also 
IlsSafeMutex, IlsUnsafeMutex
IlsMutexNotLockOwnerException
IlsMutexNotLockOwnerException;
This exception is thrown when a mutex that was locked by a different thread is unlocked.
See Also 
IlsSafeMutex, IlsUnsafeMutex
IlsMvComponentException
IlsMvComponentException;
This is the parent class for the exceptions thrown by a component that uses dynamic views.
See Also 
IlsMvComponent
IlsNoRWLockException
IlsNoRWLockException;
This exception is thrown when a readers/writer lock is unlocked but there was no read or write lock owned by the calling thread.
See Also 
IlsRWLock
IlsNotFound
IlsNotFound;
See Also 
IlsDictionary, IlsInvertedRelationList, IlsOwnsList, IlsUsesList
IlsNullPointerDereferencing
IlsNullPointerDereferencing;
See Also 
IlsSmartPointer
IlsNullPointerEncountered
IlsNullPointerEncountered;
See Also 
IlsDictionary, IlsSmartPointer
IlsOnExitException
IlsOnExitException;
This exception can be thrown by the log file instead of calling exit or abort on a fatal or internal error.
See Also 
IlsLogfile
IlsOwnershipCycle
IlsOwnershipCycle;
See Also 
IlsOwns, IlsOwnsDynamicArray::Partial, IlsOwnsFixedArray::Partial, IlsOwnsList, IlsOwnsList::Iterator, IlsSortedOwnsList
IlsRemovingFromOpenTable
IlsRemovingFromOpenTable;
See Also 
IlsDictionary
IlsRWLockException
IlsRWLockException;
This is the base class for all exceptions thrown by a read/write locker in the portable thread library.
See Also 
IlsRWLock
IlsSizeViolation
IlsSizeViolation;
See Also 
IlsOwnsDynamicArray, IlsOwnsFixedArray, IlsUsesDynamicArray, IlsUsesFixedArray
IlsStringException
IlsStringException;
This exception is the base class for all exceptions raised by the class IlsString. This class derives from IlsException.
IlsThreadException
IlsThreadException;
This is the base class for all exceptions thrown by an incomplete action on a thread in the portable thread library.
See Also 
IlsThread
IlsUnOwnedUse
IlsUnOwnedUse;
See Also 
IlsUses, IlsUsesDynamicArray::Partial, IlsUsesFixedArray::Partial, IlsUsesList, IlsUsesList::Iterator
IlsUpdateForbidden
IlsUpdateForbidden;
See Also 
IlsEntity, IlsEntry, IlsOwns, IlsOwnsDynamicArray::Partial, IlsOwnsFixedArray::Partial, IlsOwnsList, IlsOwnsList::Iterator, IlsUsesDynamicArray, IlsUsesDynamicArray::Partial, IlsUsesFixedArray::Partial, IlsUsesList, IlsUsesList::Iterator
IlsUtilityException
IlsUtilityException
This is the base class for all exceptions thrown by the utility classes.
See Also 
IlsException
 

Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.