public class ObjectAlreadyAttachedException extends RuntimeException implements MAJException
Thrown when an attempt is made to attach an item to a collection that it already contains.
Equivalent C result code: AAFRESULT_OBJECT_ALREADY_ATTACHED 0x80120132
| Constructor and Description |
|---|
ObjectAlreadyAttachedException()
Create a new object already attached exception with no message.
|
ObjectAlreadyAttachedException(String msg)
Create a new object already attached exception with the given descriptive message.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ObjectAlreadyAttachedException(String msg)
Create a new object already attached exception with the given descriptive message.
msg - Message describing the exception.public ObjectAlreadyAttachedException()
Create a new object already attached exception with no message.
(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.