trait PendingExceptionSupport extends PendingExceptionSupportLike
Provides pending exception capabilities to an existing exception manager.
- Alphabetic
- By Inheritance
- PendingExceptionSupport
- PendingExceptionSupportLike
- PendingRequestSupport
- ExceptionManager
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
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
- Definition Classes
- ExceptionManager
-
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
- Definition Classes
- ExceptionManager
-
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
- Definition Classes
- ExceptionManager
-
abstract
def
getExceptionRequestInfoWithId(requestId: String): Option[ExceptionRequestInfo]
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
- ExceptionManager
-
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
- Definition Classes
- ExceptionManager
-
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
- Definition Classes
- ExceptionManager
-
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
- Definition Classes
- ExceptionManager
-
abstract
val
pendingActionManager: PendingActionManager[ExceptionRequestInfo]
Represents the manager used to store pending exception requests and process them later.
Represents the manager used to store pending exception requests and process them later.
- Attributes
- protected
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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
- 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.
-
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
- Definition Classes
- PendingExceptionSupport → 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.
-
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
- Definition Classes
- ExceptionManager
- Note
Any exception and its subclass will be watched.
-
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
- Definition Classes
- ExceptionManager
-
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
- Definition Classes
- PendingExceptionSupport → ExceptionManager
- Note
Any exception and its subclass will be watched.
-
def
disablePendingSupport(): Unit
Disables pending support.
Disables pending support.
- Definition Classes
- PendingRequestSupport
-
def
enablePendingSupport(): Unit
Enables pending support.
Enables pending support.
- Definition Classes
- PendingRequestSupport
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isPendingSupportEnabled: Boolean
Indicates whether or not pending support is enabled.
Indicates whether or not pending support is enabled.
- returns
True if pending support enabled, otherwise false
- Definition Classes
- PendingRequestSupport
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
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
- Definition Classes
- ExceptionManager
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
pendingExceptionRequests: Seq[ExceptionRequestInfo]
Retrieves a list of all pending exception requests.
Retrieves a list of all pending exception requests.
- returns
The collection of exception request information
- Definition Classes
- PendingExceptionSupport → PendingExceptionSupportLike
-
def
pendingExceptionRequestsForClass(className: String): Seq[ExceptionRequestInfo]
Retrieves a list of pending exception requests for the specified file.
Retrieves a list of pending exception requests for the specified file.
- className
The full name of the exception class whose pending exception requests to retrieve
- returns
The collection of successfully-processed exception requests
- Definition Classes
- PendingExceptionSupport → PendingExceptionSupportLike
-
def
processAllPendingExceptionRequests(): Seq[ExceptionRequestInfo]
Processes all pending exception requests.
Processes all pending exception requests.
- returns
The collection of successfully-processed exception requests
- Definition Classes
- PendingExceptionSupport → PendingExceptionSupportLike
-
def
processPendingExceptionRequestsForClass(className: String): Seq[ExceptionRequestInfo]
Processes all pending exception requests for the specified file.
Processes all pending exception requests for the specified file.
- className
The full name of the exception class whose pending exception requests to process
- returns
The collection of successfully-processed exception requests
- Definition Classes
- PendingExceptionSupport → PendingExceptionSupportLike
-
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
- Definition Classes
- PendingExceptionSupport → ExceptionManager
-
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
- Definition Classes
- PendingExceptionSupport → ExceptionManager
-
def
setPendingSupport(value: Boolean): Unit
Sets enablement of pending support to the specified value.
Sets enablement of pending support to the specified value.
- value
True if enabling support, otherwise false
- Definition Classes
- PendingRequestSupport
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )