Trait

org.scaladebugger.api.lowlevel.exceptions

ExceptionManager

Related Doc: package exceptions

Permalink

trait ExceptionManager extends AnyRef

Represents the manager for exception requests.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExceptionManager
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract 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

    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]

    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

    Note

    Any exception and its subclass will be watched.

  3. abstract 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

  4. abstract 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

  5. abstract 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

  6. abstract 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

  7. abstract 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

  8. abstract 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

  9. abstract 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

  10. abstract 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

  11. abstract 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

Concrete 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

    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]

    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

    Note

    Any exception and its subclass will be watched.

  8. 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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  16. 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
  17. final def notify(): Unit

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

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped