Re: BigDecimal help
Re: BigDecimal help
- Subject: Re: BigDecimal help
- From: James Cicenia <email@hidden>
- Date: Mon, 7 Feb 2005 13:01:04 -0600
I think you were right.
On Feb 7, 2005, at 12:47 PM, Chuck Hill wrote:
Check the Value Type in the model. It needs to be B, it is probably d.
On Feb 7, 2005, at 7:20 AM, James Cicenia wrote:
Hello -
Why would this throw a class cast exception:
if(!this.approvedBudget().equals(null)){
which calls:
public BigDecimal approvedBudget() {
return (BigDecimal)storedValueForKey("approvedBudget");
<----- class cast exception here ???
}
I am using the GAP pattern and the above is auto generated from
eogenerator.
Thanks,
James Cicenia
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
village.net
This email sent to email@hidden
--
Practical WebObjects - a book for intermediate WebObjects developers
who want to increase their overall knowledge of WebObjects, or those
who are trying to solve specific application development problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden