commonj.connector.metadata
Class MetadataException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.resource.ResourceException
commonj.connector.metadata.MetadataException
- All Implemented Interfaces:
- Serializable
public class MetadataException
- extends ResourceException
Exception used to indicate errors during metadata discovery and import.
- Since:
- 1.0
- See Also:
- Serialized Form
MetadataException
public MetadataException(String msg)
- Constructs a new exception with the specified detail message.
The cause is not initialized, and may subsequently be initialized
by a call to Throwable.initCause().
- Parameters:
msg
- the detail message. A null
value should not be used.
MetadataException
public MetadataException(String msg,
Throwable cause)
- Constructs a new exception with the specified detail message and cause.
- Parameters:
msg
- the detail messagecause
- the cause (which is saved for later retrieval by the
Throwable.getCause() method). (A null
value is permitted,
and indicates that the cause is nonexistent or unknown.)