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.

Version:

1.4

Author:

Max Parlione, Marco De Gregorio

See Also:

Serialized Form

 

Constructor Summary

InvalidTargetObjectTypeException()
    Default constructor
InvalidTargetObjectTypeException(java.lang.Exception e, java.lang.String s)
    Constructor taking an exception and a string.
InvalidTargetObjectTypeException(java.lang.String s)
    Constructor from a string.
 

 

Method Summary

 java.lang.String getMessage()
    Override Throwables getMessage
 java.lang.String toString()
    Override default toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace
 
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(java.lang.String s)

Constructor from a string.

 

Parameters:

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

InvalidTargetObjectTypeException

public InvalidTargetObjectTypeException(java.lang.Exception e,
                                        java.lang.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.

 

Method Detail

toString

public java.lang.String toString()

Override default toString

Overrides:

toString in class java.lang.Throwable

getMessage

public java.lang.String getMessage()

Override Throwables getMessage

Overrides:

getMessage in class java.lang.Throwable