< prev index next >
src/java.xml/share/classes/org/xml/sax/SAXException.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2000, 2005, 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) 2000, 2017, 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
*** 92,102 ****
*
* @param e The exception to be wrapped in a SAXException.
*/
public SAXException (Exception e)
{
! super();
this.exception = e;
}
/**
--- 92,102 ----
*
* @param e The exception to be wrapped in a SAXException.
*/
public SAXException (Exception e)
{
! super(e);
this.exception = e;
}
/**
*** 150,160 ****
* Return the cause of the exception
*
* @return Return the cause of the exception
*/
public Throwable getCause() {
! return exception;
}
/**
* Override toString to pick up any embedded exception.
*
--- 150,160 ----
* Return the cause of the exception
*
* @return Return the cause of the exception
*/
public Throwable getCause() {
! return super.getCause();
}
/**
* Override toString to pick up any embedded exception.
*
< prev index next >