• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: BigDecimal help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BigDecimal help


  • Subject: Re: BigDecimal help
  • From: Chuck Hill <email@hidden>
  • Date: Mon, 7 Feb 2005 10:47:59 -0800

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


  • Follow-Ups:
    • Re: BigDecimal help
      • From: James Cicenia <email@hidden>
References: 
 >BigDecimal help (From: James Cicenia <email@hidden>)

  • Prev by Date: Re: Learning resources
  • Next by Date: Re: Weird Java Monitor Behaviour?
  • Previous by thread: BigDecimal help
  • Next by thread: Re: BigDecimal help
  • Index(es):
    • Date
    • Thread