    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class ncsa.horizon.util.MetadataTypeException

    java.lang.Object
       |
       +----java.lang.Throwable
               |
               +----java.lang.Exception
                       |
                       +----java.lang.RuntimeException
                               |
                               +----ncsa.horizon.util.MetadataTypeException

public class MetadataTypeException
extends RuntimeException

an exception indicating that a value from a Metadata list was of an unexpected type.

##

MetadataTypeException()
MetadataTypeException(String)
MetadataTypeException(String, String)
MetadataTypeException(String, String, String)

##

getMessage()
toString()

##

MetadataTypeException

      public MetadataTypeException()

MetadataTypeException

      public MetadataTypeException(String mdname)

Parameters:
  mdname - metadatum name

MetadataTypeException

      public MetadataTypeException(String mdname,
                                   String expected)

Parameters:
  mdname - metadatum name
  expected - the type expected

MetadataTypeException

      public MetadataTypeException(String mdname,
                                   String expected,
                                   String found)

Parameters:
  mdname - metadatum name
  expected - the type expected

##

toString

      public String toString()

Overrides:
  toString in class Throwable

getMessage

      public String getMessage()

Overrides:
  getMessage in class Throwable

    All Packages  Class Hierarchy  This Package  Previous  Next  Index