

package org.openspaces.core;

import com.j_spaces.core.exception.internal.ProxyInternalSpaceException;
import org.springframework.dao.DataAccessException;

/**
 * A wrapper for {@link net.jini.space.InternalSpaceException}.
 *
 * @author kimchy
 */
public class InternalSpaceException extends DataAccessException {

    private static final long serialVersionUID = -4486328522662794541L;

    private net.jini.space.InternalSpaceException e;

    public InternalSpaceException(net.jini.space.InternalSpaceException e) {
        super(e.getMessage(), e);
    }

    public InternalSpaceException(ProxyInternalSpaceException e) {
        super(e.getMessage(), e);
    }
}
