站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Java Platform, Enterprise Edition v1.4 API Specifications

InvalidTargetObjectTypeException (Java 2 Platform Ent. Ed. v1.4) - Java Platform, Enterprise Edition v1.4 API Specifications

JavaTM 2 Platform
Ent. Ed. v1.4

javax.management.modelmbean
Class InvalidTargetObjectTypeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.management.modelmbean.InvalidTargetObjectTypeException
All Implemented Interfaces:
Serializable

public class InvalidTargetObjectTypeException
extends Exception

Exception thrown when an invalid target object type is specified.

See Also:
Serialized Form

Constructor Summary
InvalidTargetObjectTypeException()
          Default constructor.
InvalidTargetObjectTypeException(Exception e, String s)
          Constructor taking an exception and a string.
InvalidTargetObjectTypeException(String s)
          Constructor from a string.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidTargetObjectTypeException

public InvalidTargetObjectTypeException()
Default constructor.


InvalidTargetObjectTypeException

public InvalidTargetObjectTypeException(String s)
Constructor from a string.

Parameters:
s - String value that will be incorporated in the message for this exception.

InvalidTargetObjectTypeException

public InvalidTargetObjectTypeException(Exception e,
                                        String s)
Constructor taking an exception and a string.

Parameters:
e - Exception that we may have caught to reissue as an InvalidTargetObjectTypeException. The message will be used, and we may want to consider overriding the printStackTrace() methods to get data pointing back to original throw stack.
s - String value that will be incorporated in message for this exception.

JavaTM 2 Platform
Ent. Ed. v1.4

Submit a bug or feature

Copyright 2003 Sun Microsystems, Inc. All rights reserved.