Produced by Araxis Merge on 6/9/2017 3:49:59 PM Eastern Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | Fri Jun 9 19:49:59 2017 UTC | ||
| 2 | eHealth_Exch (eHealth Exchange Enhancements) Build 3 docs & code_May_2017.zip\VAP_CIF_CODE0502.zip\VAP_CIF_CODE0502\VAP_CIF_CODE0502\nvap-common\src\main\java\gov\va\nvap\common\xsl | DefaultTransformerErrorListener.java | Fri Apr 21 20:03:26 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 1 | 53 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | package go v.va.nvap. common.xsl ; | |||||
| 2 | ||||||
| 3 | import jav ax.xml.tra nsform.Err orListener ; | |||||
| 4 | import jav ax.xml.tra nsform.Tra nsformerEx ception; | |||||
| 5 | ||||||
| 6 | import org .apache.co mmons.logg ing.Log; | |||||
| 7 | import org .apache.co mmons.logg ing.LogFac tory; | |||||
| 8 | import org .springfra mework.con text.annot ation.Conf iguration; | |||||
| 9 | ||||||
| 10 | /** | |||||
| 11 | * @author Asha Amri traj | |||||
| 12 | */ | |||||
| 13 | @Configura tion | |||||
| 14 | public cla ss Default Transforme rErrorList ener imple ments Erro rListener { | |||||
| 15 | ||||||
| 16 | pr ivate stat ic final L og LOG = L ogFactory | |||||
| 17 | .getLo g(DefaultT ransformer ErrorListe ner.class) ; | |||||
| 18 | ||||||
| 19 | @O verride | |||||
| 20 | pu blic final void erro r(final Tr ansformerE xception e x) | |||||
| 21 | throws Transform erExceptio n { | |||||
| 22 | if ( DefaultTra nsformerEr rorListene r.LOG.isEr rorEnabled ()) { | |||||
| 23 | Defaul tTransform erErrorLis tener.LOG. error(ex); | |||||
| 24 | } | |||||
| 25 | if ( RuntimeExc eption.cla ss.isInsta nce(ex.get Exception( ))) { | |||||
| 26 | throw (RuntimeEx ception) e x.getExcep tion(); | |||||
| 27 | } el se { | |||||
| 28 | throw ex; | |||||
| 29 | } | |||||
| 30 | } | |||||
| 31 | ||||||
| 32 | @O verride | |||||
| 33 | pu blic final void fata lError(fin al Transfo rmerExcept ion ex) | |||||
| 34 | throws Transform erExceptio n { | |||||
| 35 | if ( DefaultTra nsformerEr rorListene r.LOG.isEr rorEnabled ()) { | |||||
| 36 | Defaul tTransform erErrorLis tener.LOG. error(ex); | |||||
| 37 | } | |||||
| 38 | if ( RuntimeExc eption.cla ss.isInsta nce(ex.get Exception( ))) { | |||||
| 39 | throw (RuntimeEx ception) e x.getExcep tion(); | |||||
| 40 | } el se { | |||||
| 41 | throw ex; | |||||
| 42 | } | |||||
| 43 | } | |||||
| 44 | ||||||
| 45 | @O verride | |||||
| 46 | pu blic final void warn ing(final Transforme rException ex) | |||||
| 47 | throws Transform erExceptio n { | |||||
| 48 | if ( DefaultTra nsformerEr rorListene r.LOG.isWa rnEnabled( )) { | |||||
| 49 | Defaul tTransform erErrorLis tener.LOG. warn(ex); | |||||
| 50 | } | |||||
| 51 | } | |||||
| 52 | ||||||
| 53 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.