AOMException exception
Some AOM operations may throw an AOMException as specified in their method descriptions. Unlike DOMException and other exception interfaces, AOMException provides an error message string in the message field instead of a numeric code.
Objects that implement the AOMException interface include the following property:
Stringmessage