* a native storage. Even if this attribute is public you must never
* access to it.
*/
- private long bind;
+ private long bind = 0;
/** Storage name */
protected String name;
- /** User data. */
- private Object data;
- protected Storage() {
- this.bind = 0;
- this.data = null;
- }
-
@Override
public String toString (){
return this.name;
* @exception StorageNotFoundException if the name of the storage is not valid.
*/
public static native Storage getByName(String name)
- throws HostNotFoundException, NullPointerException, StorageNotFoundException;
+ throws HostNotFoundException, StorageNotFoundException;
/**
* This method returns the name of a storage.