Page 1 of 1

[HD Pg 294, Sec. 10.4.0 - exceptions-thrown-by-application-programmerexceptions-thrown-by-programmer]

Posted: Mon Mar 18, 2019 1:50 pm
by OCAJO1
For the if statement to do what it was intended,

if(datatype != 1 || datatype != 2)

should be changed to

if(datatype != 1 && datatype != 2)

Re: [HD Pg 294, Sec. 10.4.0 - exceptions-thrown-by-application-programmerexceptions-thrown-by-programmer]

Posted: Mon Mar 18, 2019 11:19 pm
by admin
Right. Added to errata.

thank you for your feedback!