Produced by Araxis Merge on 7/10/2017 1:01:42 PM Central 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 | C:\AraxisMergeCompare\Pri_un\IV-ehmp_cif\CoreValueObjects\main\src\java\gov\va\med\imaging\monitorederrors | MonitoredError.java | Thu Jun 29 17:22:21 2017 UTC |
| 2 | C:\AraxisMergeCompare\Pri_re\IV-ehmp_cif\CoreValueObjects\main\src\java\gov\va\med\imaging\monitorederrors | MonitoredError.java | Thu Jul 6 15:00:12 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 3 | 216 |
| Changed | 2 | 4 |
| Inserted | 0 | 0 |
| 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 | /** | |
| 2 | * | |
| 3 | Package: MAG - Vis tA Imaging | |
| 4 | WARNING: Per VHA D irective 2 004-038, t his routin e should n ot be modi fied. | |
| 5 | Date Cre ated: Jan 28, 2013 | |
| 6 | Site Nam e: Washin gton OI Fi eld Office , Silver S pring, MD | |
| 7 | Developer:
|
|
| 8 | Descript ion: | |
| 9 | ||
| 10 | ;; +-------- ---------- ---------- ---------- ---------- ---------- ---------- + | |
| 11 | ;; Property of the US Government . | |
| 12 | ;; No permis sion to co py or redi stribute t his softwa re is give n. | |
| 13 | ;; Use of un released v ersions of this soft ware requi res the us er | |
| 14 | ;; to execu te a writt en test ag reement wi th the Vis tA Imaging | |
| 15 | ;; Developm ent Office of the De partment o f Veterans Affairs, | |
| 16 | ;; telephon e (301) 73 4-0100. | |
| 17 | ;; | |
| 18 | ;; The Food and Drug A dministrat ion classi fies this software a s | |
| 19 | ;; a Class I I medical device. A s such, it may not b e changed | |
| 20 | ;; in any wa y. Modifi cations to this soft ware may r esult in a n | |
| 21 | ;; adulterat ed medical device un der 21CFR8 20, the us e of which | |
| 22 | ;; is consid ered to be a violati on of US F ederal Sta tutes. | |
| 23 | ;; +-------- ---------- ---------- ---------- ---------- ---------- ---------- + | |
| 24 | ||
| 25 | */ | |
| 26 | package go v.va.med.i maging.mon itorederro rs; | |
| 27 | ||
| 28 | import jav a.util.Dat e; | |
| 29 | ||
| 30 | /** | |
| 31 | * @author
|
|
| 32 | * | |
| 33 | */ | |
| 34 | public cla ss Monitor edError | |
| 35 | { | |
| 36 | pr ivate fina l String e rrorMessag eContains; | |
| 37 | pr ivate long count; | |
| 38 | pr ivate Date lastOccur rence; | |
| 39 | pr ivate bool ean active ; | |
| 40 | ||
| 41 | /* * | |
| 42 | * @param er rorMessage Contains | |
| 43 | * / | |
| 44 | pu blic Monit oredError( String err orMessageC ontains, b oolean act ive) | |
| 45 | { | |
| 46 | supe r(); | |
| 47 | this .count = 0 L; | |
| 48 | this .lastOccur rence = nu ll; | |
| 49 | this .active = active; | |
| 50 | this .errorMess ageContain s = errorM essageCont ains; | |
| 51 | } | |
| 52 | ||
| 53 | /* * | |
| 54 | * @return t he errorMe ssageConta ins | |
| 55 | * / | |
| 56 | pu blic Strin g getError MessageCon tains() | |
| 57 | { | |
| 58 | retu rn errorMe ssageConta ins; | |
| 59 | } | |
| 60 | ||
| 61 | pu blic void incrementE rrorCount( ) | |
| 62 | { | |
| 63 | coun t++; | |
| 64 | last Occurrence = new Dat e(); | |
| 65 | } | |
| 66 | ||
| 67 | /* * | |
| 68 | * @return t he count | |
| 69 | * / | |
| 70 | pu blic long getCount() | |
| 71 | { | |
| 72 | retu rn count; | |
| 73 | } | |
| 74 | ||
| 75 | /* * | |
| 76 | * @return t he lastOcc urrence | |
| 77 | * / | |
| 78 | pu blic Date getLastOcc urrence() | |
| 79 | { | |
| 80 | retu rn lastOcc urrence; | |
| 81 | } | |
| 82 | ||
| 83 | pu blic Strin g getLastO ccurrenceS tring() | |
| 84 | { | |
| 85 | retu rn (lastOc currence = = null ? " never" : l astOccurre nce.toStri ng()); | |
| 86 | } | |
| 87 | ||
| 88 | /* * | |
| 89 | * @return t he active | |
| 90 | * / | |
| 91 | pu blic boole an isActiv e() | |
| 92 | { | |
| 93 | retu rn active; | |
| 94 | } | |
| 95 | ||
| 96 | /* * | |
| 97 | * @param ac tive the a ctive to s et | |
| 98 | * / | |
| 99 | pu blic void setActive( boolean ac tive) | |
| 100 | { | |
| 101 | this .active = active; | |
| 102 | } | |
| 103 | ||
| 104 | pu blic boole an isError MsgMonitor ed(String errorMsg) | |
| 105 | { | |
| 106 | if(e rrorMsg == null) | |
| 107 | return false; | |
| 108 | retu rn errorMs g.contains (this.erro rMessageCo ntains); | |
| 109 | } | |
| 110 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.