Cache.Session.SessionCacheException |
An error occurred while adding or retrieving a value in the session cache. |
Cache.Session.SessionCacheNoSessionException |
An attempt is made to access the cache when the session cache isn’t available. |
Cache.OrgCacheException |
An attempt is made to access a partition that doesn’t exist or whose name is
invalid. |
Cache.InvalidParamException |
An invalid parameter value is passed into a method of Cache.Session or Cache.Org. This error
occurs when:
- The key referenced is null or empty or is not alphanumeric.
- The namespace referenced is null or empty.
- The partition name is null or empty or is not alphanumeric.
- Another referenced value is null.
|
Cache.ItemSizeLimitExceededException |
A cache put call is made with an item that exceeds the maximum size limit. To fix this
error, break the item into multiple, smaller items. |
Cache.PlatformCacheInvalidOperationException |
A cache put or remove call is made that is not allowed. For example, when calling put or remove
inside a Visualforce
constructor. |