org.scaladebugger.api.lowlevel.exceptions

ExceptionManager

Related Doc: package exceptions

trait ExceptionManager extends AnyRef

Represents the manager for exception requests.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ExceptionManager
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def createCatchallExceptionRequestWithId(requestId: String, notifyCaught: Boolean, notifyUncaught: Boolean, extraArguments: JDIRequestArgument*): Try[String]

    Creates a new exception request to catch all exceptions from the JVM.

    Creates a new exception request to catch all exceptions from the JVM.

    requestId

    The id associated with the requests for lookup and removal

    notifyCaught

    If true, events will be reported when any exception is detected within a try { ... } block

    notifyUncaught

    If true, events will be reported when any exception is detected not within a try { ... } block

    extraArguments

    Any additional arguments to provide to the request

    returns

    Success(id) if successful, otherwise Failure

    Note

    The request id given does not get added to the request id list and removing by id will not remove this request instance.

  2. abstract def createExceptionRequestWithId(requestId: String, exceptionName: String, notifyCaught: Boolean, notifyUncaught: Boolean, extraArguments: JDIRequestArgument*): Try[String]

    Creates a new exception request for the specified exception class.

    Creates a new exception request for the specified exception class.

    requestId

    The id associated with the requests for lookup and removal

    exceptionName

    The full class name of the exception to watch

    notifyCaught

    If true, events will be reported when the exception is detected within a try { ... } block

    notifyUncaught

    If true, events will be reported when the exception is detected not within a try { ... } block

    extraArguments

    Any additional arguments to provide to the request

    returns

    Success(id) if successful, otherwise Failure

    Note

    Any exception and its subclass will be watched.

  3. abstract def exceptionRequestList: Seq[ExceptionRequestInfo]

    Retrieves the list of exception requests contained by this manager.

    Retrieves the list of exception requests contained by this manager.

    returns

    The collection of exception request information

  4. abstract def exceptionRequestListById: Seq[String]

    Retrieves the list of exception requests contained by this manager.

    Retrieves the list of exception requests contained by this manager.

    returns

    The collection of exception requests by id

  5. abstract def getCatchallExceptionRequest: Option[ExceptionRequest]

    Retrieves the exception request used to catch all exceptions.

    Retrieves the exception request used to catch all exceptions.

    returns

    Some exception request if the catchall has been set, otherwise None

  6. abstract def getCatchallExceptionRequestId: Option[String]

    Retrieves the id of the exception request used to catch all exceptions.

    Retrieves the id of the exception request used to catch all exceptions.

    returns

    Some id if the catchall has been set, otherwise None

  7. abstract def getExceptionRequest(exceptionName: String): Option[Seq[ExceptionRequest]]

    Retrieves the collection of exception requests with the matching exception class name.

    Retrieves the collection of exception requests with the matching exception class name.

    exceptionName

    The full class name of the exception targeted by the exception requests

    returns

    Some collection of exception requests if they exist, otherwise None

  8. abstract def getExceptionRequestWithId(requestId: String): Option[Seq[ExceptionRequest]]

    Retrieves the collection of exception requests with the specified id.

    Retrieves the collection of exception requests with the specified id.

    requestId

    The id of the request used to retrieve and delete it

    returns

    Some collection of exception requests if they exist, otherwise None

  9. abstract def hasCatchallExceptionRequest: Boolean

    Determines if the exception request to catch all exceptions has been set.

    Determines if the exception request to catch all exceptions has been set.

    returns

    True if set, otherwise false

  10. abstract def hasExceptionRequest(exceptionName: String): Boolean

    Determines if an exception request exists for the specified exception class name.

    Determines if an exception request exists for the specified exception class name.

    exceptionName

    The full class name of the exception targeted by the exception requests

    returns

    True if a exception request exists, otherwise false

  11. abstract def hasExceptionRequestWithId(requestId: String): Boolean

    Determines if an exception request exists with the specified id.

    Determines if an exception request exists with the specified id.

    requestId

    The id of the request used to retrieve and delete it

    returns

    True if a exception request exists, otherwise false

  12. abstract def removeCatchallExceptionRequest(): Boolean

    Removes the exception request used to catch all exceptions.

    Removes the exception request used to catch all exceptions.

    returns

    True if the exception request was removed (if it existed), otherwise false

  13. abstract def removeExceptionRequest(exceptionName: String): Boolean

    Removes the specified exception requests with the matching exception class name.

    Removes the specified exception requests with the matching exception class name.

    exceptionName

    The full class name of the exception targeted by the exception requests

    returns

    True if the exception requests were removed (if they existed), otherwise false

  14. abstract def removeExceptionRequestWithId(requestId: String): Boolean

    Removes the exception request with the specified id.

    Removes the exception request with the specified id.

    requestId

    The id of the request

    returns

    True if the exception request was removed (if it existed), otherwise false

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def createCatchallExceptionRequest(notifyCaught: Boolean, notifyUncaught: Boolean, extraArguments: JDIRequestArgument*): Try[String]

    Creates a new exception request to catch all exceptions from the JVM.

    Creates a new exception request to catch all exceptions from the JVM.

    notifyCaught

    If true, events will be reported when any exception is detected within a try { ... } block

    notifyUncaught

    If true, events will be reported when any exception is detected not within a try { ... } block

    extraArguments

    Any additional arguments to provide to the request

    returns

    Success(id) if successful, otherwise Failure

    Note

    The request id given does not get added to the request id list and removing by id will not remove this request instance.

  7. def createExceptionRequest(exceptionName: String, notifyCaught: Boolean, notifyUncaught: Boolean, extraArguments: JDIRequestArgument*): Try[String]

    Creates a new exception request for the specified exception class.

    Creates a new exception request for the specified exception class.

    exceptionName

    The full class name of the exception to watch

    notifyCaught

    If true, events will be reported when the exception is detected within a try { ... } block

    notifyUncaught

    If true, events will be reported when the exception is detected not within a try { ... } block

    extraArguments

    Any additional arguments to provide to the request

    returns

    Success(id) if successful, otherwise Failure

    Note

    Any exception and its subclass will be watched.

  8. def createExceptionRequestFromInfo(exceptionRequestInfo: ExceptionRequestInfo): Try[String]

    Creates a new exception request based on the specified information.

    Creates a new exception request based on the specified information. If the class name is null, will create a catchall exception request.

    exceptionRequestInfo

    The information used to create the exception request

    returns

    Success(id) if successful, otherwise Failure

  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. def newRequestId(): String

    Generates an id for a new request.

    Generates an id for a new request.

    returns

    The id as a string

    Attributes
    protected
  17. final def notify(): Unit

    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  20. def toString(): String

    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped