This method of the ClientStorageManager Class obtains the store for the currently executing principal. This method scans the current call stack to find the store for the last non-system principal.
public ClientStore getStoreFromContext() throws IOException;
Returns the store for the currently executing principal.
IOException if the context cannot be determined, if no caller has a principal, or if the store for the context does not exist and an error occurs while allocating space for the store.
SecurityException if the caller does not have permission to access the store.