replaced throw_error with throw_exception
Wrote tests for exception in Moose::Meta::Class::Immutable::Trait
replaced throw_error with throw_exception
Added tests for exceptions thrown in Moose::Meta::Method::Destructor
Wrote exception class MethodExpectedAMetaclassObject
replaced confess with throw_exception
added tests for exceptions throw in Moose::Meta::TypeConstraint
Wrote exception MessageParameterMustBeCodeRef
replaced throw_error with throw_exception
changed EnumValuesMustBeStringNotUndef to EnumValuesMustBeString,because former is just a special case of the latter
Removed whitespace
Wrote tests for exceptions thrown in Moose::Meta::TypeConstraint::Enum
Wrote exceptions MustHaveAtLeastOneValueToEnumerate & EnumValuesMustBeString
removed tests of Moose::Meta::TypeConstraint (added in the wrong file by mistake)
Wrote _inline_throw_exception & replaced _inline_throw_error with _inline_throw_exception
Wrote tests for exception ValidationFailedForInlineTypeConstraint
Wrote exception class ValidationFailedForInlineTypeConstraint
Added use Moose::Util::TypeConstraints for find_type_constraint
changed exception message to match exactly the older message
removed whitespace