package Ġnet . cord a . core . contracts Ċ Ċ import Ġnet . cord a . core . Delete For DJ VM Ċ import Ġnet . cord a . core . Keep For DJ VM Ċ import Ġnet . cord a . core . crypto . Secure Hash Ċ import Ġnet . cord a . core . flows . Flow Exception Ċ import Ġnet . cord a . core . identity . Party Ċ import Ġnet . cord a . core . node . services . Attachment Id Ċ import Ġnet . cord a . core . serialization . C ord a Serializable Ċ import Ġnet . cord a . core . utilities . Non Empty Set Ċ import Ġjava . security . PublicKey Ċ Ċ /** Ċ Ġ* ĠThe Ġnode Ġasked Ġa Ġremote Ġpeer Ġfor Ġthe Ġtransaction Ġidentified Ġby Ġ[ hash ] Ġbecause Ġit Ġis Ġa Ġdependency Ġof Ġa Ġtransaction Ċ Ġ* Ġbeing Ġresolved , Ġbut Ġthe Ġremote Ġpeer Ġwould Ġnot Ġprovide Ġit . Ċ Ġ* Ċ Ġ* Ġ@ property Ġhash ĠMer kle Ġroot Ġof Ġthe Ġtransaction Ġbeing Ġresolved , Ġsee Ġ[ net . cord a . core . transactions . Wire Transaction . id ] Ċ Ġ*/ Ċ @ Keep For DJ VM Ċ class ĠTransaction Resolution Exception ( val Ġhash : ĠSecure Hash ) Ġ: ĠFlow Exception (" Transaction Ġresolution Ġfailure Ġfor Ġ$ hash ") Ċ Ċ /** Ċ Ġ* ĠThe Ġnode Ġasked Ġa Ġremote Ġpeer Ġfor Ġthe Ġattachment Ġidentified Ġby Ġ[ hash ] Ġbecause Ġit Ġis Ġa Ġdependency Ġof Ġa Ġtransaction Ċ Ġ* Ġbeing Ġresolved , Ġbut Ġthe Ġremote Ġpeer Ġwould Ġnot Ġprovide Ġit . Ċ Ġ* Ċ Ġ* Ġ@ property Ġhash ĠHash Ġof Ġthe Ġbytes Ġof Ġthe Ġattachment , Ġsee Ġ[ Attachment . id ] Ċ Ġ*/ Ċ @ Keep For DJ VM Ċ class ĠAttachment Resolution Exception ( val Ġhash : ĠSecure Hash ) Ġ: ĠFlow Exception (" Attachment Ġresolution Ġfailure Ġfor Ġ$ hash ") Ċ Ċ /** Ċ Ġ* ĠIndicates Ġthat Ġsome Ġaspect Ġof Ġthe Ġtransaction Ġnamed Ġby Ġ[ tx Id ] Ġviol ates Ġthe Ġplatform Ġrules . ĠThe Ġexact Ġtype Ġof Ġfailure Ċ Ġ* Ġis Ġexpressed Ġusing Ġa Ġsubclass . ĠTransaction Verification Exception Ġis Ġa Ġ[ Flow Exception ] Ġand Ġthus Ġwhen Ġthrown Ġinside Ċ Ġ* Ġa Ġflow , Ġthe Ġdetails Ġof Ġthe Ġfailure Ġwill Ġbe Ġserial ised , Ġpropag ated Ġto Ġthe Ġpeer Ġand Ġre throw n . Ċ Ġ* Ċ Ġ* Ġ@ property Ġtx Id Ġthe ĠMer kle Ġroot Ġhash Ġ( identifier ) Ġof Ġthe Ġtransaction Ġthat Ġfailed Ġverification . Ċ Ġ*/ Ċ @ Suppress (" Member Visibility Can Be Private ") Ċ @ C ord a Serializable Ċ abstract Ġclass ĠTransaction Verification Exception ( val Ġtx Id : ĠSecure Hash , Ġmessage : ĠString , Ġcause : ĠThrowable ?) ĊĠĠĠ Ġ: ĠFlow Exception ("$ message , Ġtransaction : Ġ$ tx Id ", Ġcause ) Ġ{ ĊĊĠĠĠ Ġ/** ĊĠĠĠĠ Ġ* ĠIndicates Ġthat Ġone Ġof Ġthe Ġ[ Contract . verify ] Ġmethods Ġselected Ġby Ġthe Ġcontract Ġconstraints Ġand Ġattachments ĊĠĠĠĠ Ġ* Ġrejected Ġthe Ġtransaction Ġby Ġthrowing Ġan Ġexception . ĊĠĠĠĠ Ġ* ĊĠĠĠĠ Ġ* Ġ@ property Ġcontract Class ĠThe Ġfully Ġqualified Ġclass Ġname Ġof Ġthe Ġfailing Ġcontract . ĊĠĠĠĠ Ġ*/ ĊĠĠĠ Ġ@ Keep For DJ VM ĊĠĠĠ Ġclass ĠContract Rejection ( tx Id : ĠSecure Hash , Ġval Ġcontract Class : ĠString , Ġcause : ĠThrowable ) Ġ: ĠTransaction Verification Exception ( tx Id , Ġ" Contract Ġverification Ġfailed : Ġ${ cause . message }, Ġcontract : Ġ$ contract Class ", Ġcause ) Ġ{ ĊĠĠĠĠĠĠĠ Ġconstructor ( tx Id : ĠSecure Hash , Ġcontract : ĠContract , Ġcause : ĠThrowable ) Ġ: Ġthis ( tx Id , Ġcontract . java Class . name , Ġcause ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ/** ĊĠĠĠĠ Ġ* ĠThis Ġexception Ġhappens Ġwhen Ġa Ġtransaction Ġwas Ġnot Ġbuilt Ġcorrectly . ĊĠĠĠĠ Ġ* ĠWhen Ġa Ġcontract Ġis Ġnot Ġannotated Ġwith Ġ[ No Constraint Propagation ], Ġthen Ġthe Ġplatform Ġensures Ġthat Ġthe Ġconstraints Ġof Ġoutput Ġstates Ġtransition Ġcorrectly Ġfrom Ġinput Ġstates . ĊĠĠĠĠ Ġ* ĊĠĠĠĠ Ġ* Ġ@ property Ġtx Id ĠThe Ġtransaction . ĊĠĠĠĠ Ġ* Ġ@ property Ġcontract Class ĠThe Ġfully Ġqualified Ġclass Ġname Ġof Ġthe Ġfailing Ġcontract . ĊĠĠĠĠ Ġ* Ġ@ property Ġinput Constraint ĠThe Ġconstraint Ġof Ġthe Ġinput Ġstate . ĊĠĠĠĠ Ġ* Ġ@ property Ġoutput Constraint ĠThe Ġconstraint Ġof Ġthe Ġoutputs Ġstate . ĊĠĠĠĠ Ġ*/ ĊĠĠĠ Ġ@ Keep For DJ VM ĊĠĠĠ Ġclass ĠConstraint Propagation Rejection ( tx Id : ĠSecure Hash , Ġval Ġcontract Class : ĠString , Ġinput Constraint : ĠAttachment Constraint , Ġoutput Constraint : ĠAttachment Constraint ) ĊĠĠĠĠĠĠĠ Ġ: ĠTransaction Verification Exception ( tx Id , Ġ" Contract Ġconstraints Ġfor Ġ$ contract Class Ġare Ġnot Ġpropag ated Ġcorrectly . ĠThe Ġoutput Constraint : Ġ$ output Constraint Ġis Ġnot Ġa Ġvalid Ġtransition Ġfrom Ġthe Ġinput Ġconstraint : Ġ$ input Constraint .", Ġnull ) ĊĊĠĠĠ Ġ/** ĊĠĠĠĠ Ġ* ĠThe Ġtransaction Ġattachment Ġthat Ġcontains Ġthe Ġ[ contract Class ] Ġclass Ġdidn 't Ġmeet Ġthe Ġconstraints Ġspecified Ġby ĊĠĠĠĠ Ġ* Ġthe Ġ[ Transaction State . constraint ] Ġobject . ĠThis Ġusually Ġimplies Ġa Ġversion Ġmismatch Ġof Ġsome Ġkind . ĊĠĠĠĠ Ġ* ĊĠĠĠĠ Ġ* Ġ@ property Ġcontract Class ĠThe Ġfully Ġqualified Ġclass Ġname Ġof Ġthe Ġfailing Ġcontract . ĊĠĠĠĠ Ġ*/ ĊĠĠĠ Ġ@ Keep For DJ VM ĊĠĠĠ Ġclass ĠContract Constraint Rejection ( tx Id : ĠSecure Hash , Ġval Ġcontract Class : ĠString ) ĊĠĠĠĠĠĠĠ Ġ: ĠTransaction Verification Exception ( tx Id , Ġ" Contract Ġconstraints Ġfailed Ġfor Ġ$ contract Class ", Ġnull ) ĊĊĠĠĠ Ġ/** ĊĠĠĠĠ Ġ* ĠA Ġstate Ġrequested Ġa Ġcontract Ġclass Ġvia Ġits Ġ[ Transaction State . contract ] Ġfield Ġthat Ġdidn 't Ġappear Ġin Ġany Ġattached ĊĠĠĠĠ Ġ* ĠJ AR Ġat Ġall . ĠThis Ġusually Ġimplies Ġthe Ġattachments Ġwere Ġforgot ten Ġor Ġa Ġversion Ġmismatch . ĊĠĠĠĠ Ġ* ĊĠĠĠĠ Ġ* Ġ@ property Ġcontract Class ĠThe Ġfully Ġqualified Ġclass Ġname Ġof Ġthe Ġfailing Ġcontract . ĊĠĠĠĠ Ġ*/ ĊĠĠĠ Ġ@ Keep For DJ VM ĊĠĠĠ Ġclass ĠMissing Attachment Rejection ( tx Id : ĠSecure Hash , Ġval Ġcontract Class : ĠString ) ĊĠĠĠĠĠĠĠ Ġ: ĠTransaction Verification Exception ( tx Id , Ġ" Contract Ġconstraints Ġfailed , Ġcould Ġnot Ġfind Ġattachment Ġfor : Ġ$ contract Class ", Ġnull ) ĊĊĠĠĠ Ġ/** ĊĠĠĠĠ Ġ* ĠIndicates Ġthis Ġtransaction Ġviol ates Ġthe Ġ" no Ġoverlap " Ġrule : Ġtwo Ġattachments Ġare Ġtrying Ġto Ġprovide Ġthe Ġsame Ġfile ĊĠĠĠĠ Ġ* Ġpath . ĠWhere as ĠJava Ġclass paths Ġwould Ġnormally Ġallow Ġthat Ġwith Ġthe Ġfirst Ġclass Ġtaking Ġprecedence , Ġthis Ġis Ġnot ĊĠĠĠĠ Ġ* Ġallowed Ġin Ġtransactions Ġfor Ġsecurity Ġreasons . ĠThis Ġusually Ġindicates Ġthat Ġtwo Ġseparate Ġapps Ġshare Ġa Ġdependency , ĊĠĠĠĠ Ġ* Ġin Ġwhich Ġcase Ġyou Ġcould Ġtry Ġ' sh ading Ġthe Ġfat Ġj ars ' Ġto Ġrename Ġclasses Ġof Ġdependencies . ĠOr Ġyou Ġcould Ġmanually ĊĠĠĠĠ Ġ* Ġattach Ġdependency ĠJ AR s Ġwhen Ġbuilding Ġthe Ġtransaction . ĊĠĠĠĠ Ġ* ĊĠĠĠĠ Ġ* Ġ@ property Ġcontract Class ĠThe Ġfully Ġqualified Ġclass Ġname Ġof Ġthe Ġfailing Ġcontract . ĊĠĠĠĠ Ġ*/ ĊĠĠĠ Ġ@ Keep For DJ VM ĊĠĠĠ Ġclass ĠConflict ing Attachments Rejection ( tx Id : ĠSecure Hash , Ġval Ġcontract Class : ĠString ) ĊĠĠĠĠĠĠĠ Ġ: ĠTransaction Verification Exception ( tx Id , Ġ" Contract Ġconstraints Ġfailed Ġfor : Ġ$ contract Class , Ġbecause Ġmultiple Ġattachments Ġproviding Ġthis Ġcontract Ġwere Ġattached .", Ġnull ) ĊĊĠĠĠ Ġ/** ĊĠĠĠĠ Ġ* ĠA Ġ[ Contract ] Ġclass Ġnamed Ġby Ġa Ġstate Ġcould Ġnot Ġbe Ġconstructed . ĠMost Ġlikely Ġyou Ġdo Ġnot Ġhave Ġa Ġno - argument ĊĠĠĠĠ Ġ* Ġconstructor , Ġor Ġthe Ġclass Ġdoesn 't Ġsubclass Ġ[ Contract ]. ĊĠĠĠĠ Ġ* ĊĠĠĠĠ Ġ* Ġ@ property Ġcontract Class ĠThe Ġfully Ġqualified Ġclass Ġname Ġof Ġthe Ġfailing Ġcontract . ĊĠĠĠĠ Ġ*/ ĊĠĠĠ Ġ@ Keep For DJ VM ĊĠĠĠ Ġclass ĠContract Creation Error ( tx Id : ĠSecure Hash , Ġval Ġcontract Class : ĠString , Ġcause : ĠThrowable ) ĊĠĠĠĠĠĠĠ Ġ: ĠTransaction Verification Exception ( tx Id , Ġ" Contract Ġverification Ġfailed : Ġ${ cause . message }, Ġcould Ġnot Ġcreate Ġcontract Ġclass : Ġ$ contract Class ", Ġcause ) ĊĊĠĠĠ Ġ/** ĊĠĠĠĠ Ġ* ĠAn Ġoutput Ġstate Ġhas Ġa Ġnot ary Ġthat Ġdoesn 't Ġmatch Ġthe Ġtransaction 's Ġnot ary Ġfield . ĠIt Ġmust ! ĊĠĠĠĠ Ġ* ĊĠĠĠĠ Ġ* Ġ@ property Ġtx Not ary Ġthe Ġ[ Party ] Ġspecified Ġby Ġthe Ġtransaction Ġheader . ĊĠĠĠĠ Ġ* Ġ@ property Ġoutput Not ary Ġthe Ġ[ Party ] Ġspecified Ġby Ġthe Ġerr ant Ġstate . ĊĠĠĠĠ Ġ*/ ĊĠĠĠ Ġ@ Keep For DJ VM ĊĠĠĠ Ġclass ĠNot ary Change In Wrong Transaction Type ( tx Id : ĠSecure Hash , Ġval Ġtx Not ary : ĠParty , Ġval Ġoutput Not ary : ĠParty ) ĊĠĠĠĠĠĠĠ Ġ: ĠTransaction Verification Exception ( tx Id , Ġ" Found Ġunexpected Ġnot ary Ġchange Ġin Ġtransaction . ĠTx Ġnot ary : Ġ$ tx Not ary , Ġfound : Ġ$ output Not ary ", Ġnull ) ĊĊĠĠĠ Ġ/** ĊĠĠĠĠ Ġ* ĠIf Ġa Ġstate Ġis Ġenc umber ed Ġ( the Ġ[ Transaction State . enc um br ance ] Ġfield Ġis Ġset ) Ġthen Ġits Ġenc um br ance Ġmust Ġbe Ġused ĊĠĠĠĠ Ġ* Ġas Ġan Ġinput Ġto Ġany Ġtransaction Ġthat Ġuses Ġit . ĠIn Ġthis Ġway Ġstates Ġcan Ġbe Ġtied Ġtogether Ġin Ġchains , Ġthus Ġcomp osing ĊĠĠĠĠ Ġ* Ġlogic . ĠNote Ġthat Ġenc um br ances Ġaren 't Ġfully Ġsupported Ġby Ġall Ġaspects Ġof Ġthe Ġplatform Ġat Ġthis Ġtime Ġso Ġif Ġyou Ġuse ĊĠĠĠĠ Ġ* Ġthem , Ġyou Ġmay Ġfind Ġtransactions Ġcreated Ġby Ġthe Ġplatform Ġdon 't Ġalways Ġrespect Ġthe Ġenc um br ance Ġrule . ĊĠĠĠĠ Ġ* ĊĠĠĠĠ Ġ* Ġ@ property Ġmissing Ġthe Ġindex Ġof Ġthe Ġstate Ġmissing Ġthe Ġenc um br ance . ĊĠĠĠĠ Ġ* Ġ@ property Ġin Out Ġwhether Ġthe Ġissue Ġexists Ġin Ġthe Ġinput Ġlist Ġor Ġoutput Ġlist . ĊĠĠĠĠ Ġ*/ ĊĠĠĠ Ġ@ Keep For DJ VM ĊĠĠĠ Ġclass ĠTransaction Missing Enc um br ance Exception ( tx Id : ĠSecure Hash , Ġval Ġmissing : ĠInt , Ġval Ġin Out : ĠDirection ) ĊĠĠĠĠĠĠĠ Ġ: ĠTransaction Verification Exception ( tx Id , Ġ" Missing Ġrequired Ġenc um br ance Ġ$ missing Ġin Ġ$ in Out ", Ġnull ) ĊĊĠĠĠ Ġ/** ĊĠĠĠĠ Ġ* ĠIf Ġtwo Ġor Ġmore Ġstates Ġrefer Ġto Ġanother Ġstate Ġ( as Ġtheir Ġenc um br ance ), Ġthen Ġthe Ġbi - direction ality Ġproperty Ġcannot ĊĠĠĠĠ Ġ* Ġbe Ġsatisfied . ĊĠĠĠĠ Ġ*/ ĊĠĠĠ Ġ@ Keep For DJ VM ĊĠĠĠ Ġclass ĠTransaction Duplicate Enc um br ance Exception ( tx Id : ĠSecure Hash , Ġindex : ĠInt ) ĊĠĠĠĠĠĠĠ Ġ: ĠTransaction Verification Exception ( tx Id , Ġ" The Ġbi - direction ality Ġproperty Ġof Ġenc umber ed Ġoutput Ġstates Ġ" Ġ+ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ" is Ġnot Ġsatisfied . ĠIndex Ġ$ index Ġis Ġreferenced Ġmore Ġthan Ġonce ", Ġnull ) ĊĊĠĠĠ Ġ/** ĊĠĠĠĠ Ġ* ĠAn Ġenc umber ed Ġstate Ġshould Ġalso Ġbe Ġreferenced Ġas Ġthe Ġenc um br ance Ġof Ġanother Ġstate Ġin Ġorder Ġto Ġsatisfy Ġthe ĊĠĠĠĠ Ġ* Ġbi - direction ality Ġproperty Ġ( a Ġfull Ġcycle Ġshould Ġbe Ġpresent ). ĊĠĠĠĠ Ġ*/ ĊĠĠĠ Ġ@ Keep For DJ VM ĊĠĠĠ Ġclass ĠTransaction Non Matching Enc um br ance Exception ( tx Id : ĠSecure Hash , Ġnon Matching : ĠCollection < Int >) ĊĠĠĠĠĠĠĠ Ġ: ĠTransaction Verification Exception ( tx Id , Ġ" The Ġbi - direction ality Ġproperty Ġof Ġenc umber ed Ġoutput Ġstates Ġ" Ġ+ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ" is Ġnot Ġsatisfied . ĠEn c umber ed Ġstates Ġshould Ġalso Ġbe Ġreferenced Ġas Ġan Ġenc um br ance Ġof Ġanother Ġstate Ġto Ġform Ġ" Ġ+ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ" a Ġfull Ġcycle . ĠOff ending Ġindices Ġ$ non Matching ", Ġnull ) ĊĊĠĠĠ Ġ/** HEAD ĊĠĠĠĠ Ġ* ĠAll Ġenc umber ed Ġstates Ġshould Ġbe Ġassigned Ġto Ġthe Ġsame Ġnot ary . ĠThis Ġis Ġdue Ġto Ġthe Ġfact Ġthat Ġmulti - not ary ĊĠĠĠĠ Ġ* Ġtransactions Ġare Ġnot Ġsupported Ġand Ġthus Ġtwo Ġenc umber ed Ġstates Ġwith Ġdifferent Ġnot aries Ġcannot Ġbe Ġconsumed ĊĠĠĠĠ Ġ* Ġin Ġthe Ġsame Ġtransaction . ĊĠĠĠĠ Ġ*/ ĊĠĠĠ Ġ@ Keep For DJ VM ĊĠĠĠ Ġclass ĠTransaction Not ary Mismatch Enc um br ance Exception ( tx Id : ĠSecure Hash , Ġenc umber ed Index : ĠInt , Ġenc um br ance Index : ĠInt , Ġenc umber ed Not ary : ĠParty , Ġenc um br ance Not ary : ĠParty ) ĊĠĠĠĠĠĠĠ Ġ: ĠTransaction Verification Exception ( tx Id , Ġ" Enc umber ed Ġoutput Ġstates Ġassigned Ġto Ġdifferent Ġnot aries Ġfound . Ġ" Ġ+ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ" Output Ġstate Ġwith Ġindex Ġ$ enc umber ed Index Ġis Ġassigned Ġto Ġnot ary Ġ[$ enc umber ed Not ary ], Ġwhile Ġits Ġenc um br ance Ġwith Ġindex Ġ$ enc um br ance Index Ġis Ġassigned Ġto Ġnot ary Ġ[$ enc um br ance Not ary ]", Ġnull ) ĊĊĠĠĠ Ġ/** ĊĠĠĠĠ Ġ* ĠIf Ġa Ġstate Ġis Ġidentified Ġas Ġbelong ing Ġto Ġa Ġcontract , Ġeither Ġbecause Ġthe Ġstate Ġclass Ġis Ġdefined Ġas Ġan Ġinner Ġclass ĊĠĠĠĠ Ġ* Ġof Ġthe Ġcontract Ġclass Ġor Ġbecause Ġthe Ġstate Ġclass Ġis Ġannotated Ġwith Ġ[ Bel ongsTo Contract ], Ġthen Ġit Ġmust Ġnot Ġbe ĊĠĠĠĠ Ġ* Ġbundled Ġin Ġa Ġ[ Transaction State ] Ġwith Ġa Ġdifferent Ġcontract . ĊĠĠĠĠ Ġ* ĊĠĠĠĠ Ġ* Ġ@ param Ġstate ĠThe Ġ[ Transaction State ] Ġwhose Ġbundled Ġstate Ġand Ġcontract Ġare Ġin Ġconflict . ĊĠĠĠĠ Ġ* Ġ@ param Ġrequired Contract ClassName ĠThe Ġclass Ġname Ġof Ġthe Ġcontract Ġto Ġwhich Ġthe Ġstate Ġbelongs . ĊĠĠĠĠ Ġ*/ ĊĠĠĠ Ġ@ Keep For DJ VM ĊĠĠĠ Ġclass ĠTransaction Contract Conflict Exception ( tx Id : ĠSecure Hash , Ġstate : ĠTransaction State < Contract State >, Ġrequired Contract ClassName : ĠString ) ĊĠĠĠĠĠĠĠ Ġ: ĠTransaction Verification Exception ( tx Id , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ""" ĊĠĠĠĠĠĠĠĠĠĠĠ ĠState Ġof Ġclass Ġ${ state . data :: class . java . typeName } Ġbelongs Ġto Ġcontract Ġ$ required Contract ClassName , Ġbut ĊĠĠĠĠĠĠĠĠĠĠĠ Ġis Ġbundled Ġin ĠTransaction State Ġwith Ġ${ state . contract }. ĊĊĠĠĠĠĠĠĠĠĠĠĠ ĠFor Ġdetails Ġsee : Ġhttps :// docs . cord a . net / api - contract - constraints . html # contract - state - agreement ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ""" . trim Indent (). replace ('\ n ', Ġ' Ġ'), Ġnull ) ĊĊĠĠĠ Ġ// ĠTODO : Ġadd Ġreference Ġto Ġdocumentation ĊĠĠĠ Ġ@ Keep For DJ VM ĊĠĠĠ Ġclass ĠTransaction Required Contract Unspecified Exception ( tx Id : ĠSecure Hash , Ġstate : ĠTransaction State < Contract State >) ĊĠĠĠĠĠĠĠ Ġ: ĠTransaction Verification Exception ( tx Id , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ""" ĊĠĠĠĠĠĠĠĠĠĠĠ ĠState Ġof Ġclass Ġ${ state . data :: class . java . typeName } Ġdoes Ġnot Ġhave Ġa Ġspecified Ġow ning Ġcontract . ĊĠĠĠĠĠĠĠĠĠĠĠ ĠAdd Ġthe Ġ@ Bel ongsTo Contract Ġannotation Ġto Ġthis Ġclass Ġto Ġensure Ġthat Ġit Ġcan Ġonly Ġbe Ġbundled Ġin Ġa ĠTransaction State ĊĠĠĠĠĠĠĠĠĠĠĠ Ġwith Ġthe Ġcorrect Ġcontract . ĊĊĠĠĠĠĠĠĠĠĠĠĠ ĠFor Ġdetails Ġsee : Ġhttps :// docs . cord a . net / api - contract - constraints . html # contract - state - agreement ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ""" . trim Indent (), Ġnull ) ĊĊĠĠĠ Ġ/** ĠWhether Ġthe Ġinputs Ġor Ġoutputs Ġlist Ġcontains Ġan Ġenc um br ance Ġissue , Ġsee Ġ[ Transaction Missing Enc um br ance Exception ]. Ġ*/ ĊĠĠĠ Ġ@ C ord a Serializable ĊĠĠĠ Ġ@ Keep For DJ VM ĊĠĠĠ Ġenum Ġclass ĠDirection Ġ{ ĊĠĠĠĠĠĠĠ Ġ/** ĠIssue Ġin Ġthe Ġinputs Ġlist . Ġ*/ ĊĠĠĠĠĠĠĠ ĠINPUT , ĊĠĠĠĠĠĠĠ Ġ/** ĠIssue Ġin Ġthe Ġoutputs Ġlist . Ġ*/ ĊĠĠĠĠĠĠĠ ĠOUTPUT ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ// ĠWe Ġcould Ġre visit Ġand Ġthrow Ġthis Ġmore Ġappropriate Ġtype Ġin Ġa Ġfuture Ġrelease Ġthat Ġuses Ġtarget Version Ġto ĊĠĠĠ Ġ// Ġavoid Ġthe Ġcompatibility Ġbreak , Ġbecause ĠIllegalStateException Ġisn 't Ġideal Ġfor Ġthis . ĠOr Ġwe Ġcould Ġuse Ġthis ĊĠĠĠ Ġ// Ġas Ġa Ġcause . ĊĠĠĠ Ġ/** Ġ@ suppress ĠThis Ġclass Ġis Ġnot Ġused : Ġduplicate Ġinputs Ġthrow Ġa Ġ[ IllegalStateException ] Ġinstead . Ġ*/ ĊĠĠĠ Ġ@ Deprecated (" This Ġclass Ġis Ġnot Ġused : Ġduplicate Ġinputs Ġthrow Ġa Ġ[ IllegalStateException ] Ġinstead .") ĊĠĠĠ Ġ@ Delete For DJ VM ĊĠĠĠ Ġclass ĠDuplicate Input States ( tx Id : ĠSecure Hash , Ġval Ġduplicates : ĠNon Empty Set < State Ref >) ĊĠĠĠĠĠĠĠ Ġ: ĠTransaction Verification Exception ( tx Id , Ġ" Duplicate Ġinputs : Ġ${ duplicates . join ToString () }", Ġnull ) ĊĊĠĠĠ Ġ/** Ġ@ suppress ĠThis Ġclass Ġis Ġobsolete Ġand Ġnothing Ġhas Ġever Ġused Ġit . Ġ*/ ĊĠĠĠ Ġ@ Deprecated (" This Ġclass Ġis Ġobsolete Ġand Ġnothing Ġhas Ġever Ġused Ġit .") ĊĠĠĠ Ġ@ Delete For DJ VM ĊĠĠĠ Ġclass ĠMore Than One Not ary ( tx Id : ĠSecure Hash ) Ġ: ĠTransaction Verification Exception ( tx Id , Ġ" More Ġthan Ġone Ġnot ary ", Ġnull ) ĊĊĠĠĠ Ġ/** Ġ@ suppress ĠThis Ġclass Ġis Ġobsolete Ġand Ġnothing Ġhas Ġever Ġused Ġit . Ġ*/ ĊĠĠĠ Ġ@ Deprecated (" This Ġclass Ġis Ġobsolete Ġand Ġnothing Ġhas Ġever Ġused Ġit .") ĊĠĠĠ Ġ@ Delete For DJ VM ĊĠĠĠ Ġclass ĠSign ers Missing ( tx Id : ĠSecure Hash , Ġval Ġmissing : ĠList < PublicKey >) Ġ: ĠTransaction Verification Exception ( tx Id , Ġ" Sign ers Ġmissing : Ġ${ missing . join ToString () }", Ġnull ) ĊĊĠĠĠ Ġ/** Ġ@ suppress ĠThis Ġclass Ġis Ġobsolete Ġand Ġnothing Ġhas Ġever Ġused Ġit . Ġ*/ ĊĠĠĠ Ġ@ Deprecated (" This Ġclass Ġis Ġobsolete Ġand Ġnothing Ġhas Ġever Ġused Ġit .") ĊĠĠĠ Ġ@ Delete For DJ VM ĊĠĠĠ Ġclass ĠInvalid Not ary Change ( tx Id : ĠSecure Hash ) ĊĠĠĠĠĠĠĠ Ġ: ĠTransaction Verification Exception ( tx Id , Ġ" Detected Ġa Ġnot ary Ġchange . ĠOutputs Ġmust Ġuse Ġthe Ġsame Ġnot ary Ġas Ġinputs ", Ġnull ) ĊĊĠĠĠ Ġ/** ĊĠĠĠĠ Ġ* ĠThrow n Ġto Ġindicate Ġthat Ġa Ġcontract Ġattachment Ġis Ġnot Ġsigned Ġby Ġthe Ġnetwork - wide Ġpackage Ġowner . ĊĠĠĠĠ Ġ*/ ĊĠĠĠ Ġclass ĠContract Attachment Not Signed By Package Owner Exception ( tx Id : ĠSecure Hash , Ġval Ġattachment Hash : ĠAttachment Id , Ġval Ġcontract Class : ĠString ) Ġ: ĠTransaction Verification Exception ( tx Id , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ""" The ĠContract Ġattachment ĠJ AR : Ġ$ attachment Hash Ġcontaining Ġthe Ġcontract : Ġ$ contract Class Ġis Ġnot Ġsigned Ġby Ġthe Ġowner Ġspecified Ġin Ġthe Ġnetwork Ġparameters . ĊĠĠĠĠĠĠĠĠĠĠ ĠPlease Ġcheck Ġthe Ġsource Ġof Ġthis Ġattachment Ġand Ġif Ġit Ġis Ġm alic ious Ġcontact Ġyour Ġzone Ġoperator Ġto Ġreport Ġthis Ġincident . ĊĠĠĠĠĠĠĠĠĠĠ ĠFor Ġdetails Ġsee : Ġhttps :// docs . cord a . net / network - map . html # network - parameters """. trim Indent (), Ġnull ) ĊĊĠĠĠ Ġ/** ĊĠĠĠĠ Ġ* ĠThrow n Ġwhen Ġmultiple Ġattachments Ġprovide Ġthe Ġsame Ġfile Ġwhen Ġbuilding Ġthe ĠAttach ments Class loader Ġfor Ġa Ġtransaction . ĊĠĠĠĠ Ġ*/ ĊĠĠĠ Ġ@ C ord a Serializable ĊĠĠĠ Ġ@ Keep For DJ VM ĊĠĠĠ Ġclass ĠOver lapping Attachments Exception ( path : ĠString ) Ġ: ĠException (" Multiple Ġattachments Ġdefine Ġa Ġfile Ġat Ġpath Ġ`$ path `. ") Ċ } Ċ