⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 metadataexception.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 2 页
字号:
&nbsp;<!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/coverage/io/MetadataException.html#getMetadataAlias()">getMetadataAlias</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the alias used for the key <A HREF="../../../../org/geotools/coverage/io/MetadataException.html#getMetadataKey()"><CODE>getMetadataKey()</CODE></A>. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../org/geotools/coverage/io/MetadataBuilder.Key.html" title="class in org.geotools.coverage.io">MetadataBuilder.Key</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/coverage/io/MetadataException.html#getMetadataKey()">getMetadataKey</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the metadata key which has raised this exception. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/coverage/io/MetadataException.html#toString()">toString</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a string representation of this exception. </TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_Throwable"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Throwable.html#fillInStackTrace()" title="class or interface in java.lang">fillInStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Throwable.html#getCause()" title="class or interface in java.lang">getCause</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Throwable.html#getLocalizedMessage()" title="class or interface in java.lang">getLocalizedMessage</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Throwable.html#getMessage()" title="class or interface in java.lang">getMessage</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Throwable.html#getStackTrace()" title="class or interface in java.lang">getStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Throwable.html#initCause(java.lang.Throwable)" title="class or interface in java.lang">initCause</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Throwable.html#printStackTrace()" title="class or interface in java.lang">printStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Throwable.html#printStackTrace(java.io.PrintStream)" title="class or interface in java.lang">printStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Throwable.html#printStackTrace(java.io.PrintWriter)" title="class or interface in java.lang">printStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Throwable.html#setStackTrace(java.lang.StackTraceElement[])" title="class or interface in java.lang">setStackTrace</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="MetadataException(java.lang.String)"><!-- --></A><H3>MetadataException</H3><PRE>public <B>MetadataException</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;message)</PRE><DL><DD>Constructs an exception with the specified message and no key.<P><DT><B>Parameters:</B><DD><CODE>message</CODE> - The message, or  if none.</DL><HR><A NAME="MetadataException(java.lang.String, java.lang.Throwable)"><!-- --></A><H3>MetadataException</H3><PRE>public <B>MetadataException</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;message,                         <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A>&nbsp;cause)</PRE><DL><DD>Constructs an exception with the specified message and exception as its cause.<P><DT><B>Parameters:</B><DD><CODE>message</CODE> - The message, or  if none.<DD><CODE>cause</CODE> - The cause for this exception.</DL><HR><A NAME="MetadataException(java.lang.String, org.geotools.coverage.io.MetadataBuilder.Key, java.lang.String)"><!-- --></A><H3>MetadataException</H3><PRE>public <B>MetadataException</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;message,                         <A HREF="../../../../org/geotools/coverage/io/MetadataBuilder.Key.html" title="class in org.geotools.coverage.io">MetadataBuilder.Key</A>&nbsp;key,                         <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;alias)</PRE><DL><DD>Constructs an exception with the specified message. This exception is usually raised because no value was defined for the key , or the value was ambiguous.<P><DT><B>Parameters:</B><DD><CODE>message</CODE> - The message, or  if none.<DD><CODE>key</CODE> - The metadata key which was the cause for this exception, or  if                none. This is a format neutral key, for example <A HREF="../../../../org/geotools/coverage/io/MetadataBuilder.html#DATUM"><CODE>MetadataBuilder.DATUM</CODE></A>.<DD><CODE>alias</CODE> - The alias used for for the key , or  if none. This is                usually the name used in the external file parsed.</DL><HR><A NAME="MetadataException(java.lang.Exception, org.geotools.coverage.io.MetadataBuilder.Key, java.lang.String)"><!-- --></A><H3>MetadataException</H3><PRE>public <B>MetadataException</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A>&nbsp;cause,                         <A HREF="../../../../org/geotools/coverage/io/MetadataBuilder.Key.html" title="class in org.geotools.coverage.io">MetadataBuilder.Key</A>&nbsp;key,                         <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;alias)</PRE><DL><DD>Constructs an exception from the specified cause.<P><DT><B>Parameters:</B><DD><CODE>cause</CODE> - The cause for this exception.<DD><CODE>key</CODE> - The metadata key which was the cause for this exception, or  if                none. This is a format neutral key, for example <A HREF="../../../../org/geotools/coverage/io/MetadataBuilder.html#DATUM"><CODE>MetadataBuilder.DATUM</CODE></A>.<DD><CODE>alias</CODE> - The alias used for for the key , or  if none. This is                usually the name used in the external file parsed.</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getMetadataKey()"><!-- --></A><H3>getMetadataKey</H3><PRE>public <A HREF="../../../../org/geotools/coverage/io/MetadataBuilder.Key.html" title="class in org.geotools.coverage.io">MetadataBuilder.Key</A> <B>getMetadataKey</B>()</PRE><DL><DD>Returns the metadata key which has raised this exception. This exception has usually been raised because no value was defined for this key, or the value was ambiguous.<P><DD><DL><DT><B>Returns:</B><DD>The metadata key, or  if none.</DL></DD></DL><HR><A NAME="getMetadataAlias()"><!-- --></A><H3>getMetadataAlias</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getMetadataAlias</B>()</PRE><DL><DD>Returns the alias used for the key <A HREF="../../../../org/geotools/coverage/io/MetadataException.html#getMetadataKey()"><CODE>getMetadataKey()</CODE></A>. This is usually the name used in the external file to be parsed. The alias is format-dependent, while the key (as returned by <A HREF="../../../../org/geotools/coverage/io/MetadataException.html#getMetadataKey()"><CODE>getMetadataKey()</CODE></A>) if format neutral.<P><DD><DL><DT><B>Returns:</B><DD>The alias, or  if none.</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE><DL><DD>Returns a string representation of this exception. This implementation is similar to <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Throwable.html#toString()" title="class or interface in java.lang"><CODE>Throwable.toString()</CODE></A>, except that the string will includes key and alias names if they are defined. The localized message, if any, may be written on the next line. Example: <blockquote><pre> org.geotools.coverage.io.MissingMetadataException(key="YMaximum", alias="ULY"): Aucune valeur n'est d閒inie pour la propri閠

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -