|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException tv.amwa.maj.exception.InstanceOverflowException
public class InstanceOverflowException
Thrown when the instance generator of a mob id overflows. The exception can be queried to find out what kind of instance number generator is causing an overflow condition.
No equivalent C result code.
MobID.nextInstance()
,
Serialized FormConstructor Summary | |
---|---|
InstanceOverflowException()
Create a new instance number generator exception with no error message. |
|
InstanceOverflowException(String msg,
InstanceNumberGeneration generator)
Create a new instance number generator exception with the given error message and containing the kind of generator that has overflowed. |
Method Summary | |
---|---|
InstanceNumberGeneration |
getGenerator()
Returns the kind of instance number generator that overflowed and caused this exception. |
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 |
---|
public InstanceOverflowException(String msg, InstanceNumberGeneration generator)
Create a new instance number generator exception with the given error message and containing the kind of generator that has overflowed.
msg
- Message describing the exception.generator
- Kind of instance number generator that has overflowed.public InstanceOverflowException()
Create a new instance number generator exception with no error message.
Method Detail |
---|
public InstanceNumberGeneration getGenerator()
Returns the kind of instance number generator that overflowed and caused this exception.
InstanceNumberGeneration.NotDefined
if the kind of generator
is not known.
|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |