Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What are some built-in ruby class exceptions.



What are some built-in ruby class exceptions...

Answer / Vinod Kumar Pal

Ruby provides various built-in classes for exceptions. Some common exceptions include:n1. StandardErrorn - This is the base exception class.n2. Exceptionn - A generic exception class.n3. RuntimeErrorn - Base class for errors that occur during program execution.n4. ArgumentErrorn - Raised when an argument passed to a method or function is not valid.n5. NameErrorn - Raised when a variable or method does not exist in the current scope.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby Interview Questions

Explain about normal method class?

1 Answers  


Tell me the role of modules and mixins in ruby?

0 Answers  


Explain about Float, Dig and Max?

1 Answers  


what is the difference extend and include?

1 Answers  


In Ruby code, often it is observed that coder uses a short hand form of using an expression like array.map(&:method_name) instead of array.map { |element| element.method_name }. How this trick actually works?

1 Answers  


What are the different environment variables present in the ruby?

1 Answers  


Explain about portability?

1 Answers  


Tell me what is the difference between calling super() and super call?

1 Answers  


Explain retry statement in ruby.

1 Answers  


what is the difference between put and putc statement?

1 Answers  


Explain how Symbol is different from variables?

1 Answers  


What is yield in ruby?

1 Answers  


Categories