Produced by Araxis Merge on 1/4/2018 4:54:41 PM Eastern Standard 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 | CHAMPVA_Benefit_Eligibility_v1.0.0.zip\webservice\champvapay-service\src\main\java\gov\va\med\mbcp\champva\domain\impl | ChampVAException.java | Thu Dec 21 19:52:28 2017 UTC |
| 2 | CHAMPVA_Benefit_Eligibility_v1.0.0.zip\webservice\champvapay-service\src\main\java\gov\va\med\mbcp\champva\domain\impl | ChampVAException.java | Thu Jan 4 20:59:33 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 114 |
| Changed | 1 | 2 |
| 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 | * The pac kage gov.v a.med.mbcp .champva.d omain.impl contains the CodeRe sult class , which | |
| 3 | * represe nts a Code Result Tr ansfer Obj ect in the Service L ayer. The abstract C hampVAExce ption, | |
| 4 | * along w ith its co ncrete imp lementatio ns, are al so defined here. | |
| 5 | * | |
| 6 | */ | |
| 7 | package go v.va.med.m bcp.champv a.domain.i mpl; | |
| 8 | ||
| 9 | /** | |
| 10 | * ChampVA Exception is the Abs tract Base Class for Exception s propagat ed by the | |
| 11 | * CHAMPVA Pay Servi ce. | |
| 12 | * | |
| 13 | * @author PII | |
| 14 | * @versio n 1.0.0 | |
| 15 | */ | |
| 16 | public abs tract clas s ChampVAE xception e xtends Exc eption { | |
| 17 | ||
| 18 | privat e static f inal long serialVers ionUID = - 2731999808 009747003L ; | |
| 19 | ||
| 20 | /** | |
| 21 | * The se constan ts define the error codes for their corr esponding exception | |
| 22 | * typ es, which will allow us to com municate E xceptions to the Web Client | |
| 23 | * wit hout leaki ng details of the We b Service' s design t o the Wild Wild Web. | |
| 24 | */ | |
| 25 | public static fi nal String VISTALINK _FAULT_EXC EPTION = " 100"; | |
| 26 | public static fi nal String FOUNDATIO NS_EXCEPTI ON = "200" ; | |
| 27 | public static fi nal String NAMING_EX CEPTION = "300"; | |
| 28 | public static fi nal String RESOURCE_ EXCEPTION = "400"; | |
| 29 | public static fi nal String JSON_PROC ESSING_EXC EPTION = " 500"; | |
| 30 | ||
| 31 | privat e String m ErrorCode = "0"; | |
| 32 | ||
| 33 | /** | |
| 34 | * Cha mpVAExcept ion constr uctor. | |
| 35 | * | |
| 36 | * @pa ram t | |
| 37 | * - an instanc e of Throw able | |
| 38 | */ | |
| 39 | public ChampVAEx ception(Th rowable t) { | |
| 40 | su per(t); | |
| 41 | } | |
| 42 | ||
| 43 | /** | |
| 44 | * @re turn the E rror Code of the Exc eption. | |
| 45 | */ | |
| 46 | public String ge tErrorCode () { | |
| 47 | re turn mErro rCode; | |
| 48 | } | |
| 49 | ||
| 50 | /** | |
| 51 | * @pa ram mError Code | |
| 52 | * th e mErrorCo de to set | |
| 53 | */ | |
| 54 | public void setE rrorCode(S tring mErr orCode) { | |
| 55 | th is.mErrorC ode = mErr orCode; | |
| 56 | } | |
| 57 | ||
| 58 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.