javax.management.modelmbean
Class InvalidTargetObjectTypeException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--javax.management.modelmbean.InvalidTargetObjectTypeException
- public class InvalidTargetObjectTypeException
- extends java.lang.Exception
Exception thrown when an invalid target object type is specified
- See Also:
- Serialized Form
|
Field Summary |
(package private) java.lang.Exception |
exception
|
|
Method Summary |
(package private) static void |
()
|
void |
printStackTrace()
Overrides the method |
java.lang.String |
toString()
Overrides the method |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace,
getLocalizedMessage,
getMessage,
printStackTrace,
printStackTrace |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
exception
java.lang.Exception exception
InvalidTargetObjectTypeException
public InvalidTargetObjectTypeException()
- Default constructor
InvalidTargetObjectTypeException
public InvalidTargetObjectTypeException(java.lang.String message)
- Constructor from a string.
- Parameters:
message - String value that will be incorporated in the
message for this exception.
InvalidTargetObjectTypeException
public InvalidTargetObjectTypeException(java.lang.Exception e,
java.lang.String message)
- 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.
static void ()
printStackTrace
public void printStackTrace()
- Overrides the method
- Overrides:
- printStackTrace in class java.lang.Throwable
toString
public java.lang.String toString()
- Overrides the method
- Overrides:
- toString in class java.lang.Throwable