Top Description Fields Constructors Methods
javax.management.modelmbean

public Class InvalidTargetObjectTypeException

extends Exception
Class Inheritance
Annotations
@SuppressWarnings:serial
Imports
com.sun.jmx.mbeanserver.GetPropertyAction, java.io.IOException, .ObjectInputStream, .ObjectOutputStream, .ObjectStreamField, java.security.AccessController

Exception thrown when an invalid target object type is specified.

The serialVersionUID of this class is 1190536278266811217L.

Since
1.5

Field Summary

Modifier and TypeField and Description
private static boolean
pack-priv Exception
private static final ObjectStreamField[]
private static final long
private static final ObjectStreamField[]
private static final long
private static final ObjectStreamField[]
private static final long

Constructor Summary

AccessConstructor and Description
public
InvalidTargetObjectTypeException()

Default constructor.

public
InvalidTargetObjectTypeException(String
String value that will be incorporated in the message for this exception.
s
)

Constructor from a string.

public
InvalidTargetObjectTypeException(Exception
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.
e
,
String
String value that will be incorporated in message for this exception.
s
)

Constructor taking an exception and a string.

Method Summary

Modifier and TypeMethod and Description
private void
readObject(ObjectInputStream
the ObjectInputStream from which data is read
in
)

Hides java.lang.Throwable.readObject.

Deserializes an InvalidTargetObjectTypeException from an ObjectInputStream.

private void
writeObject(ObjectOutputStream
the ObjectOutputStream to which data is written
out
)

Hides java.lang.Throwable.writeObject.

Serializes an InvalidTargetObjectTypeException to an ObjectOutputStream.

Field Detail

compatback to summary
private static boolean compat
exceptionback to summary
pack-priv Exception exception
newSerialPersistentFieldsback to summary
private static final ObjectStreamField[] newSerialPersistentFields
newSerialVersionUIDback to summary
private static final long newSerialVersionUID
oldSerialPersistentFieldsback to summary
private static final ObjectStreamField[] oldSerialPersistentFields
oldSerialVersionUIDback to summary
private static final long oldSerialVersionUID
serialPersistentFieldsback to summary
private static final ObjectStreamField[] serialPersistentFields
Serial Fields:
exception:Exception
Encapsulated Exception
serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.Exception.serialVersionUID.

Constructor Detail

InvalidTargetObjectTypeExceptionback to summary
public InvalidTargetObjectTypeException()

Default constructor.

InvalidTargetObjectTypeExceptionback to summary
public InvalidTargetObjectTypeException(String s)

Constructor from a string.

Parameters
s:String

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

InvalidTargetObjectTypeExceptionback to summary
public InvalidTargetObjectTypeException(Exception e, String s)

Constructor taking an exception and a string.

Parameters
e:Exception

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

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

Method Detail

readObjectback to summary
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException

Hides java.lang.Throwable.readObject.

Deserializes an InvalidTargetObjectTypeException from an ObjectInputStream.

Parameters
in:ObjectInputStream

Doc from java.lang.Throwable.readObject.

the ObjectInputStream from which data is read

Exceptions
IOException:

Doc from java.lang.Throwable.readObject.

if an I/O error occurs

ClassNotFoundException:

Doc from java.lang.Throwable.readObject.

if a serialized class cannot be loaded

writeObjectback to summary
private void writeObject(ObjectOutputStream out) throws IOException

Hides java.lang.Throwable.writeObject.

Serializes an InvalidTargetObjectTypeException to an ObjectOutputStream.

Parameters
out:ObjectOutputStream

Doc from java.lang.Throwable.writeObject.

the ObjectOutputStream to which data is written

Exceptions
IOException:

Doc from java.lang.Throwable.writeObject.

if an I/O error occurs