javax.management

Class BadStringOperationException

public class BadStringOperationException extends Exception

Thrown when a string-based operation passed to a query proves to be invalid. This exception is only used internally by the Java management API and is not exposed to user code.

Since: 1.5

Constructor Summary
BadStringOperationException(String op)
Constructs a new BadStringOperationException using the specified object to represent the invalid string operation.
Method Summary
StringtoString()
Returns a textual representation of this instance.

Constructor Detail

BadStringOperationException

public BadStringOperationException(String op)
Constructs a new BadStringOperationException using the specified object to represent the invalid string operation.

Parameters: op the inappropriate string operation.

Method Detail

toString

public String toString()
Returns a textual representation of this instance. This is constructed using the class name (javax.management.BadStringOperationException) and the invalid string operation.

Returns: a @link{java.lang.String} instance representing the instance in textual form.