javax.management
Class InvalidApplicationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.management.InvalidApplicationException
- All Implemented Interfaces:
- Serializable
public class InvalidApplicationException
- extends Exception
Thrown when a query or attribute is applied to a management bean
which is of the wrong class. This exception is only used
internally by the Java management API and is not exposed to user
code.
- Since:
- 1.5
- See Also:
- Serialized Form
|
Method Summary |
String |
toString()
Returns a textual representation of this instance. |
InvalidApplicationException
public InvalidApplicationException(Object val)
- Constructs a new
InvalidApplicationException
using the specified object to represent the invalid value.
- Parameters:
val - the inappropriate expression.
toString
public String toString()
- Returns a textual representation of this instance. This
is constructed using the class name
(
javax.management.InvalidApplicationException)
and the invalid expression.
- Overrides:
toString in class Throwable
- Returns:
- a @link{java.lang.String} instance representing
the instance in textual form.
- See Also:
Object.getClass(),
Object.hashCode(),
Class.getName(),
Integer.toHexString(int)