Class

org.scaladebugger.api.lowlevel.exceptions

StandardExceptionManager

Related Doc: package exceptions

Permalink

class StandardExceptionManager extends ExceptionManager with Logging

Represents the manager for exception requests.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StandardExceptionManager
  2. Logging
  3. ExceptionManager
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StandardExceptionManager(virtualMachine: VirtualMachine, eventRequestManager: EventRequestManager)

    Permalink

    virtualMachine

    The virtual machine whose classes related to exceptions to retrieve

    eventRequestManager

    The manager used to create exception requests

Type Members

  1. implicit class LoggerExtras extends AnyRef

    Permalink
    Definition Classes
    Logging

Value Members

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

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

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

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

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

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

    Permalink

    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

    Definition Classes
    ExceptionManager
    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 createCatchallExceptionRequestWithId(requestId: String, notifyCaught: Boolean, notifyUncaught: Boolean, extraArguments: JDIRequestArgument*): Try[String]

    Permalink

    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

    Definition Classes
    StandardExceptionManagerExceptionManager
    Note

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

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

    Permalink

    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

    Definition Classes
    ExceptionManager
    Note

    Any exception and its subclass will be watched.

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

    Permalink

    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

    Definition Classes
    ExceptionManager
  10. def createExceptionRequestWithId(requestId: String, exceptionName: String, notifyCaught: Boolean, notifyUncaught: Boolean, extraArguments: JDIRequestArgument*): Try[String]

    Permalink

    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

    Definition Classes
    StandardExceptionManagerExceptionManager
    Note

    Any exception and its subclass will be watched.

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. def exceptionRequestList: Seq[ExceptionRequestInfo]

    Permalink

    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

    Definition Classes
    StandardExceptionManagerExceptionManager
  14. def exceptionRequestListById: Seq[String]

    Permalink

    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

    Definition Classes
    StandardExceptionManagerExceptionManager
  15. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  17. def getExceptionRequest(exceptionName: String): Option[Seq[ExceptionRequest]]

    Permalink

    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

    Definition Classes
    StandardExceptionManagerExceptionManager
  18. def getExceptionRequestInfoWithId(requestId: String): Option[ExceptionRequestInfo]

    Permalink

    Returns the information for an exception request with the specified id.

    Returns the information for an exception request with the specified id.

    requestId

    The id of the request

    returns

    Some exception information if found, otherwise None

    Definition Classes
    StandardExceptionManagerExceptionManager
  19. def getExceptionRequestWithId(requestId: String): Option[Seq[ExceptionRequest]]

    Permalink

    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

    Definition Classes
    StandardExceptionManagerExceptionManager
  20. def hasExceptionRequest(exceptionName: String): Boolean

    Permalink

    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

    Definition Classes
    StandardExceptionManagerExceptionManager
  21. def hasExceptionRequestWithId(requestId: String): Boolean

    Permalink

    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

    Definition Classes
    StandardExceptionManagerExceptionManager
  22. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  24. val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  25. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. def newRequestId(): String

    Permalink

    Generates an id for a new request.

    Generates an id for a new request.

    returns

    The id as a string

    Attributes
    protected
    Definition Classes
    ExceptionManager
  27. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. def removeExceptionRequest(exceptionName: String): Boolean

    Permalink

    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

    Definition Classes
    StandardExceptionManagerExceptionManager
  30. def removeExceptionRequestWithId(requestId: String): Boolean

    Permalink

    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

    Definition Classes
    StandardExceptionManagerExceptionManager
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  32. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Logging

Inherited from ExceptionManager

Inherited from AnyRef

Inherited from Any

Ungrouped