com.gemstone.gemfire.pdx.PdxFieldAlreadyExistsException Maven / Gradle / Ivy
Show all versions of gemfire-core Show documentation
/*
* Copyright (c) 2010-2015 Pivotal Software, Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except in compliance with the License. You
* may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
* implied. See the License for the specific language governing
* permissions and limitations under the License. See accompanying
* LICENSE file.
*/
/**
*
*/
package com.gemstone.gemfire.pdx;
import com.gemstone.gemfire.GemFireException;
/**
* Thrown when writing a field if the named field already exists.
* This is usually caused by the same field name being written more than once.
*
It can also be caused by a field name being spelled one way when written
* and a different way when read. Field names are case sensitive.
*
It can also be caused by {@link PdxWriter#writeUnreadFields(PdxUnreadFields) writeUnreadFields}
* being called after a field is written.
*
* @author darrel
* @since 6.6
*
*/
public class PdxFieldAlreadyExistsException extends GemFireException {
private static final long serialVersionUID = -6989799940994503713L;
/**
* Constructs a new exception with the given message.
* @param message the message of the new exception
*/
public PdxFieldAlreadyExistsException(String message) {
super(message);
}
}