Throws an exception if the specified widget can not be
used as a parent for the receiver.
@exception IllegalArgumentException <ul>
<li>ERROR_NULL_ARGUMENT - if the parent is null</li>
<li>ERROR_INVALID_ARGUMENT - if the parent is disposed</li>
</ul>
@exception SWTException <ul>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the parent</li>
</ul>
Throws an exception if the specified widget can not be used as a parent for the receiver.
@exception IllegalArgumentException <ul> <li>ERROR_NULL_ARGUMENT - if the parent is null</li> <li>ERROR_INVALID_ARGUMENT - if the parent is disposed</li> </ul> @exception SWTException <ul> <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the parent</li> </ul>