trait ExceptionManager extends AnyRef
Represents the manager for exception requests.
- Alphabetic
- By Inheritance
- ExceptionManager
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
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.
-
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.
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
- 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
- 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
-
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
-
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
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
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( ... )