package Ġresult k . demo . adv anc err orm odel ing Ċ Ċ import Ġjava . util . ResourceBundle . get Bundle Ċ Ċ class ĠPayment Processor Exception Ġinternal Ġconstructor ( val Ġerror : ĠPayment Processor Error ) Ġ: ĠRuntimeException ( ĊĠĠĠ Ġget Bundle ( Payment Processor Error . PAYMENT _ PROCESS OR _ MESSAGES ) ĊĠĠĠĠĠĠĠ Ġ. getString (" payment Processor Exception . message ") ĊĠĠĠĠĠĠĠ Ġ. format ( error . code , Ġerror . message ()) Ċ )