Mark Takata (Adobe)
09/13/2022, 4:40 AMrickmason
09/13/2022, 5:17 AMGareth
09/13/2022, 7:41 AMAdam Cameron
Mark Takata (Adobe)
09/13/2022, 2:34 PMAdam Cameron
Mark Takata (Adobe)
09/13/2022, 2:48 PMjoechastain
09/13/2022, 3:41 PMJim Priest
09/13/2022, 5:37 PMAbdul Raheem
09/13/2022, 6:13 PMMark Berning
09/13/2022, 8:42 PMAdam Cameron
Adam Cameron
Gareth
09/14/2022, 6:46 AMdougcain
09/14/2022, 7:58 AMdougcain
09/14/2022, 8:09 AMdougcain
09/14/2022, 8:10 AMaliaspooryorik
miguel-f
09/14/2022, 3:32 PMAdam Cameron
apt upgrade coldfusion
or similar sort of thing.Adam Cameron
throw(
type="REDACTED.QueryParamValue",
message="The value for `cfqueryparam` cannot be determined",
extendedInfo="This is usually caused by a syntax error in the `WHERE` statement, such as forgetting to quote strings for example."
);
Thanks but there's not a single jot of useful information in there.
I can't help but think that if they could have created a QueryParamException.cfc class, then that type of exception could also possibly include some context of what else was in play (like the rest of the args for the method or something) at the time so I have a hope of being able to work out WTF their code is doing wrong.
This is a timely example, but I've needed proper exceptions in CFML for so long now. I've even tried to create me own exceptions in Java instead. I shouldn't have to do that.