Exceptions

jOOPL has some built-in exception types. Since JavaScript can throw practically anything with its throw statement, jOOPL has its own exception classes with their own properties.
  • ExceptionBase
    • Description: Represents the base class for any exception.
    • Members:
      • Constructor
        • Parameters:
          1. message: A text with a human-readable explanation of what caused the exception.
          2. innerException: An exception object that represents some thrown prior to current one.
      • get_Message
        • Description: Gets the human-readable explanation of what caused this exception.
      • set_Message
        • Description: Sets the human-readable explanation of what caused this exception.
  • NotClassException
    • Description: Represents an exception thrown when some object validation finds that some argument is not of class kind.
    • Inherits: ExceptionBase

  • NotInterfaceException
    • Description: Represents an exception thrown when some object validation finds that some argument is not of interface kind.
    • Inherits: ExceptionBase

  • ArgumentNullException
    • Description: Represents an exception thrown when some argument for some property or method is null, while it was expected to have a reference to some object.
    • Parameters:
      • argName: The affected argument name.
    • Members:
      • get_ArgName
        • Description: Gets the affected argument name by this exception.
      • set_ArgName:
        • Description: Sets the affected argument name by this exception.
    • Inherits: ExceptionBase

  • NotImplementedException
    • Description: Represents an exception thrown when some member of some base class or interface is not implemented.
    • Parameters:
      • memberName: The affected member name.
    • Members:
      • get_MemberName
        • Description: Gets the affected member name by this exception.
      • set_MemberName:
        • Description: Sets the affected member name by this exception.
    • Inherits: ExceptionBase

Last edited Feb 25, 2013 at 1:44 PM by MFidemraizer, version 10

Comments

No comments yet.