You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
1.0 KiB
64 lines
1.0 KiB
/*
|
|
* Copyright (c) 1999, 2003, Oracle and/or its affiliates. All rights reserved.
|
|
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*/
|
|
|
|
package javax.management;
|
|
|
|
/**
|
|
* Thrown when an invalid string operation is passed
|
|
* to a method for constructing a query.
|
|
*
|
|
* @since 1.5
|
|
*/
|
|
public class BadStringOperationException extends Exception {
|
|
|
|
|
|
/* Serial version */
|
|
private static final long serialVersionUID = 7802201238441662100L;
|
|
|
|
/**
|
|
* @serial The description of the operation that originated this exception
|
|
*/
|
|
private String op;
|
|
|
|
/**
|
|
* Constructs a <CODE>BadStringOperationException</CODE> with the specified detail
|
|
* message.
|
|
*
|
|
* @param message the detail message.
|
|
*/
|
|
public BadStringOperationException(String message) {
|
|
this.op = message;
|
|
}
|
|
|
|
|
|
/**
|
|
* Returns the string representing the object.
|
|
*/
|
|
public String toString() {
|
|
return "BadStringOperationException: " + op;
|
|
}
|
|
|
|
}
|