Permalink
Browse files

renumber exceptions since Parrot lost one

  • Loading branch information...
1 parent b9c38b8 commit cb9b6b0a16bb145c32b0b2ba71b3f011b4a9d6a6 @Whiteknight committed Aug 18, 2010
Showing with 43 additions and 47 deletions.
  1. +43 −47 src/Exceptions.nqp
View
@@ -1,8 +1,8 @@
-# Copyright (C) 2009, Austin Hastings. See accompanying LICENSE file, or
+# Copyright (C) 2009, Austin Hastings. See accompanying LICENSE file, or
# http://www.opensource.org/licenses/artistic-license-2.0.php for license.
# # Exceptions #
-#
+#
# ## Built-in Exceptions ##
#
@@ -110,172 +110,168 @@ class Exception::InterpError is Exception::Wrapper {
method type() { 25; }
}
-class Exception::PrederefLoadError is Exception::Wrapper {
- method type() { 26; }
-}
-
class Exception::ParrotUsageError is Exception::Wrapper {
- method type() { 27; }
+ method type() { 26; }
}
class Exception::PioError is Exception::Wrapper {
- method type() { 28; }
+ method type() { 27; }
}
class Exception::ParrotPointerError is Exception::Wrapper {
- method type() { 29; }
+ method type() { 28; }
}
class Exception::DivByZero is Exception::Wrapper {
- method type() { 30; }
+ method type() { 29; }
}
class Exception::PioNotImplemented is Exception::Wrapper {
- method type() { 31; }
+ method type() { 30; }
}
class Exception::AllocationError is Exception::Wrapper {
- method type() { 32; }
+ method type() { 31; }
}
class Exception::InternalPanic is Exception::Wrapper {
- method type() { 33; }
+ method type() { 32; }
}
class Exception::OutOfBounds is Exception::Wrapper {
- method type() { 34; }
+ method type() { 33; }
}
class Exception::JitError is Exception::Wrapper {
- method type() { 35; }
+ method type() { 34; }
}
class Exception::ExecError is Exception::Wrapper {
- method type() { 36; }
+ method type() { 35; }
}
class Exception::IllInherit is Exception::Wrapper {
- method type() { 37; }
+ method type() { 36; }
}
class Exception::NoPrevCs is Exception::Wrapper {
- method type() { 38; }
+ method type() { 37; }
}
class Exception::NoClass is Exception::Wrapper {
- method type() { 39; }
+ method type() { 38; }
}
class Exception::LexNotFound is Exception::Wrapper {
- method type() { 40; }
+ method type() { 39; }
}
class Exception::PadNotFound is Exception::Wrapper {
- method type() { 41; }
+ method type() { 40; }
}
class Exception::AttribNotFound is Exception::Wrapper {
- method type() { 42; }
+ method type() { 41; }
}
class Exception::GlobalNotFound is Exception::Wrapper {
- method type() { 43; }
+ method type() { 42; }
}
class Exception::ExternalError is Exception::Wrapper {
- method type() { 44; }
+ method type() { 43; }
}
class Exception::MethodNotFound is Exception::Wrapper {
- method type() { 45; }
+ method type() { 44; }
}
class Exception::VtableNotFound is Exception::Wrapper {
- method type() { 46; }
+ method type() { 45; }
}
class Exception::WriteToConstclass is Exception::Wrapper {
- method type() { 47; }
+ method type() { 46; }
}
class Exception::Nospawn is Exception::Wrapper {
- method type() { 48; }
+ method type() { 47; }
}
class Exception::InternalNotImplemented is Exception::Wrapper {
- method type() { 49; }
+ method type() { 48; }
}
class Exception::ErrOverflow is Exception::Wrapper {
- method type() { 50; }
+ method type() { 49; }
}
class Exception::LossyConversion is Exception::Wrapper {
- method type() { 51; }
+ method type() { 50; }
}
class Exception::RoleCompositionMethodConflict is Exception::Wrapper {
- method type() { 52; }
+ method type() { 51; }
}
class Exception::UnexpectedNull is Exception::Wrapper {
- method type() { 53; }
+ method type() { 52; }
}
class Exception::LibraryError is Exception::Wrapper {
- method type() { 54; }
+ method type() { 53; }
}
class Exception::LibraryNotLoaded is Exception::Wrapper {
- method type() { 55; }
+ method type() { 54; }
}
class Exception::SyntaxError is Exception::Wrapper {
- method type() { 56; }
+ method type() { 55; }
}
class Exception::MalformedPackfile is Exception::Wrapper {
- method type() { 57; }
+ method type() { 56; }
}
class Control::Return is Exception::Wrapper {
- method type() { 58; }
+ method type() { 57; }
}
class Control::Ok is Exception::Wrapper {
- method type() { 59; }
+ method type() { 58; }
}
class Control::Break is Exception::Wrapper {
- method type() { 60; }
+ method type() { 59; }
}
class Control::Continue is Exception::Wrapper {
- method type() { 61; }
+ method type() { 60; }
}
class Control::Error is Exception::Wrapper {
- method type() { 62; }
+ method type() { 61; }
}
class Control::Take is Exception::Wrapper {
- method type() { 63; }
+ method type() { 62; }
}
class Control::Leave is Exception::Wrapper {
- method type() { 64; }
+ method type() { 63; }
}
class Control::LoopNext is Exception::Wrapper {
- method type() { 65; }
+ method type() { 64; }
}
class Control::LoopLast is Exception::Wrapper {
- method type() { 66; }
+ method type() { 65; }
}
class Control::LoopRedo is Exception::Wrapper {
- method type() { 67; }
+ method type() { 66; }
}
#
# ## Kakapo Exceptions ##

0 comments on commit cb9b6b0

Please sign in to comment.