public class TypeNotSupportedException extends DataException
DataMap
, MetadataMap
, or
LayerMetadataMap
.DataMap
,
MetadataMap
,
LayerMetadataMap
,
Serialized Formm_Resources
m_support
Constructor and Description |
---|
TypeNotSupportedException(java.lang.String s)
Constructor to use to display a customized message.
|
TypeNotSupportedException(java.lang.String s,
java.lang.Exception e)
Constructor for an exception that passes on an underlying exception
and displays a customized message.
|
TypeNotSupportedException(java.lang.String map,
java.lang.String type)
Constructor to use to display a standard message.
|
TypeNotSupportedException(java.lang.String map,
java.lang.String type,
java.lang.Exception e)
Constructor for an exception that passes on an underlying exception and
that displays a standard message.
|
elementAt, elements, findException, getBIRootCause, getException, getPreviousException, printStackTrace, printStackTrace, printStackTraceSuper, printStackTraceSuper, size, toString
public TypeNotSupportedException(java.lang.String map, java.lang.String type)
map
- The map in which the required type is not supported,
such as "DataMap", "MetadataMap", and
"LayerMetadataMap"type
- The type that is not supported in map
.
The type must identify one of the constants in map
.
For example, if map
is "DataMap", then
type
must be the String
for one
of the constants in the DataMap
, such as
"DATA_FORMATTED", "DATA_UNFORMATTED", "DATA_TYPE", or
"DATA_RATIO".DataMap
,
MetadataMap
,
LayerMetadataMap
public TypeNotSupportedException(java.lang.String s)
s
- The customized message.public TypeNotSupportedException(java.lang.String map, java.lang.String type, java.lang.Exception e)
map
- The map in which the required type is not supported,
such as "DataMap", "MetadataMap", and
"LayerMetadataMap"type
- The type that is not supported in map
.
The type must identify one of the constants in map
.
For example, if map
is "DataMap", then
type
must be the String
for one
of the constants in the DataMap
, such as
"DATA_FORMATTED", "DATA_UNFORMATTED", "DATA_TYPE", or
"DATA_RATIO".e
- The underlying exception.DataMap
,
MetadataMap
,
LayerMetadataMap
public TypeNotSupportedException(java.lang.String s, java.lang.Exception e)
s
- The customized message.e
- The underlying exception.