All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.persistence.keymappers.UnsupportedKeyTypeException Maven / Gradle / Ivy

There is a newer version: 9.1.7.Final
Show newest version
package org.infinispan.persistence.keymappers;

import org.infinispan.persistence.spi.PersistenceException;

/**
 * Exception thrown by certain cache stores when one tries to persist an entry with an unsupported key type.
 *
 * @author [email protected]
 */
public class UnsupportedKeyTypeException extends PersistenceException {

   /** The serialVersionUID */
   private static final long serialVersionUID = 1442739860198872706L;

   public UnsupportedKeyTypeException(Object key) {
      this("Unsupported key type: '" + key.getClass().getName() + "' on key: " + key);
   }

   public UnsupportedKeyTypeException(String message) {
      super(message);
   }

   public UnsupportedKeyTypeException(String message, Throwable cause) {
      super(message, cause);
   }

   public UnsupportedKeyTypeException(Throwable cause) {
      super(cause);
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy