479N/A * The contents of this file are subject to the terms of the 479N/A * Common Development and Distribution License (the "License"). 479N/A * You may not use this file except in compliance with the License. 479N/A * language governing permissions and limitations under the License. 479N/A * When distributing Covered Code, include this CDDL HEADER in each 479N/A * If applicable, add the following below this CDDL HEADER, with the 479N/A * fields enclosed by brackets "[]" replaced with your own identifying 479N/A * information: Portions Copyright [yyyy] [name of copyright owner] 479N/A * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 479N/A * Use is subject to license terms. 479N/A * Test that a {@code Project} instance can be encoded and decoded 479N/A * without errors. Bug #3077. 479N/A // Create an exception listener to detect errors while encoding and 479N/A // verify that the write didn't fail 479N/A // Can only chain one of the exceptions. Take the first one. 479N/A // verify that the read didn't fail 479N/A // Can only chain one of the exceptions. Take the first one.