raise

Discussion in 'Ruby' started by Justin To, Jun 27, 2008.

  1. Justin To

    Justin To Guest

    Hi,

    Can you create your own raise types?

    I know there's raise NotImplementedError, for instance, but I want to
    make a custom one with a string.

    Thanks!
    --
    Posted via http://www.ruby-forum.com/.
     
    Justin To, Jun 27, 2008
    #1
    1. Advertising

  2. Martin DeMello, Jun 27, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. THY
    Replies:
    0
    Views:
    350
  2. Jacol

    raise or not to raise [Newbie]

    Jacol, Feb 3, 2007, in forum: Python
    Replies:
    5
    Views:
    409
    Gabriel Genellina
    Feb 5, 2007
  3. ernest
    Replies:
    2
    Views:
    294
    Roy Smith
    Nov 14, 2010
  4. Jack Bates
    Replies:
    0
    Views:
    281
    Jack Bates
    May 2, 2011
  5. bvdp

    Raise X or Raise X()?

    bvdp, Mar 11, 2012, in forum: Python
    Replies:
    10
    Views:
    371
    Stefan Behnel
    Mar 12, 2012
Loading...

Share This Page