< prev index next >

src/java.xml.bind/share/classes/javax/xml/bind/TypeConstraintException.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 55,66 **** /** * Exception reference * */ ! private Throwable linkedException; /** * Construct a TypeConstraintException with the specified detail message. The * errorCode and linkedException will default to null. * --- 55,67 ---- /** * Exception reference * */ ! private volatile Throwable linkedException; + static final long serialVersionUID = -3059799699420143848L; /** * Construct a TypeConstraintException with the specified detail message. The * errorCode and linkedException will default to null. *
*** 139,149 **** * * @param exception the linked Exception (A null value is permitted and * indicates that the linked exception does not exist or * is unknown). */ ! public synchronized void setLinkedException( Throwable exception ) { this.linkedException = exception; } /** * Returns a short description of this TypeConstraintException. --- 140,150 ---- * * @param exception the linked Exception (A null value is permitted and * indicates that the linked exception does not exist or * is unknown). */ ! public void setLinkedException( Throwable exception ) { this.linkedException = exception; } /** * Returns a short description of this TypeConstraintException.
< prev index next >