|
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.BadPropertyException
public class BadPropertyException
Thrown when an optional property should be omitted in the current context. In the AAF
specification, the cases when this can occur are labelled as Conditional Rules. This
is different from a PropertyNotPresentException
which is thrown when an attempt is
made to read an optional property that is currently omitted.
For example, according to conditional rule 1 of the event class, its a position property shall only be present when it is in an event mob slot. Any attempt to set or get this property in another context should result in this exception being thrown.
Equivalent C result code: AAFRESULT_BAD_PROP 0x801200CB
Event
,
EventMobSlot
,
Component
,
Sequence
,
AAFFileDescriptor
,
Serialized FormConstructor Summary | |
---|---|
BadPropertyException()
Create a new bad property exception with no message. |
|
BadPropertyException(String msg)
Create a new bad property exception with the given descriptive message. |
Method Summary |
---|
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 BadPropertyException(String msg)
Create a new bad property exception with the given descriptive message.
msg
- Message describing the exception.public BadPropertyException()
Create a new bad property exception with no message.
|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |