Arrow_left   Arrow_right
 
  #1000138

IDE error

    • Created on: Mon, 30 Aug 2010 (over 1 year ago)
    • Reported by: huiwen.han
    • Assigned to: Miles Sabin
    • Milestone: -
    • Type: Defect
    • Version: 2.8.0.final
    • Status: Invalid
    • Priority: Normal (3)
    • Component: -
    • Permission type: None
    • Fixed in version: -
    • Eclipse version: Galileo
    {code}
    object ExceptionWrappingProxy extends ExceptionHandlingProxy({e =>
    val log = Logger.get

    log.error(e, "Error in Prefz: " + e)
    throw new thrift.PreferencezException(e.toString)
    })

    {code}

    error message:
    Description Resource Path Location Type
    illegal inheritance; self-type com.xxx.webahead.steer.gizzard.preference.ExceptionWrappingProxy.type does not conform to com.twitter.gizzard.proxy.ExceptionHandlingProxy's selftype com.twitter.gizzard.proxy.ExceptionHandlingProxy ExceptionWrappingProxy.scala /gizzard_prefz/src/main/scala/com/xxx/webahead/steer/gizzard/preference line 7 Scala Problem

    Multiple markers at this line
    - com.twitter.gizzard.proxy.ExceptionHandlingProxy does not have a constructor
    - com.twitter.gizzard.proxy.ExceptionHandlingProxy does not have a constructor
    - illegal inheritance; self-type com.xxx.webahead.steer.gizzard.preference.ExceptionWrappingProxy.type does not
    conform to com{com.type}.twitter{com.twitter.type}.gizzard{com.twitter.gizzard.type}.proxy
    {com.twitter.gizzard.proxy.type}.ExceptionHandlingProxy's selftype com.twitter.gizzard.proxy.ExceptionHandlingProxy
    - illegal inheritance; superclass ExceptionHandlingProxy is not a subclass of the superclass Object of the mixin trait
    ScalaObject
    - illegal inheritance; superclass ExceptionHandlingProxy is not a subclass of the superclass Object of the mixin trait
    ScalaObject
    - illegal inheritance; self-type com.ibm.webahead.steer.gizzard.preference.ExceptionWrappingProxy.type does not
    conform to com.twitter.gizzard.proxy.ExceptionHandlingProxy's selftype com.twitter.gizzard.proxy.ExceptionHandlingProxy


    But it can compile and run successfully.
  • Followers
     
    Ico-users Miles Sabin (Assigned To) 
     
    Attachments
    No attachments
    Associations
     
    No associations
    Activity
     
    User picture

          on Aug 31, 2010 @ 09:21AM UTC * By Miles Sabin

    Status changed from New to Invalid
    Time Expenditure
    Loading