public class ObjectDisposedException extends InvalidOperationException
Constructor and Description |
---|
ObjectDisposedException(java.lang.String objectName)
Initializes a new instance of the ObjectDisposedException class with a string containing the name of the disposed object.
|
ObjectDisposedException(java.lang.String objectName,
java.lang.String message)
Initializes a new instance of the ObjectDisposedException class with the specified object name and message.
|
public ObjectDisposedException(java.lang.String objectName)
objectName
- A string containing the name of the disposed object.public ObjectDisposedException(java.lang.String objectName, java.lang.String message)
objectName
- The name of the disposed object.message
- The error message that explains the reason for the exception.