/* * Copyright (c) 2015 Hudson. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Hudson - initial API and implementation and/or initial documentation */ package hudson.util; import com.thoughtworks.xstream.converters.reflection.ObjectAccessException; public class NonExistentFieldException extends ObjectAccessException { private final String fieldName; public NonExistentFieldException(String message, String fieldName) { super(message); this.fieldName = fieldName; } public String getFieldName() { return fieldName; } }