Java Doc for MetadataException.java in  » GIS » GeoTools-2.4.1 » org » geotools » coverage » io » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » GIS » GeoTools 2.4.1 » org.geotools.coverage.io 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.imageio.IIOException
   org.geotools.coverage.io.MetadataException

All known Subclasses:   org.geotools.coverage.io.MissingMetadataException,  org.geotools.coverage.io.AmbiguousMetadataException,
MetadataException
public class MetadataException extends IIOException (Code)
The base class for error related to grid coverage's metadata. This exception is thrown by the helper class MetadataBuilder .
version:
   $Id: MetadataException.java 25699 2007-05-31 15:55:07Z desruisseaux $
author:
   Martin Desruisseaux
since:
   2.2



Constructor Summary
public  MetadataException(String message)
     Constructs an exception with the specified message and no key.
public  MetadataException(String message, Throwable cause)
     Constructs an exception with the specified message and exception as its cause.
public  MetadataException(String message, MetadataBuilder.Key key, String alias)
     Constructs an exception with the specified message.
public  MetadataException(Exception cause, MetadataBuilder.Key key, String alias)
     Constructs an exception from the specified cause.
Parameters:
  cause - The cause for this exception.
Parameters:
  key - The metadata key which was the cause for this exception, or null ifnone.

Method Summary
public  StringgetMetadataAlias()
     Returns the alias used for the key MetadataException.getMetadataKey .
public  MetadataBuilder.KeygetMetadataKey()
     Returns the metadata key which has raised this exception.
public  StringtoString()
     Returns a string representation of this exception.


Constructor Detail
MetadataException
public MetadataException(String message)(Code)
Constructs an exception with the specified message and no key.
Parameters:
  message - The message, or null if none.



MetadataException
public MetadataException(String message, Throwable cause)(Code)
Constructs an exception with the specified message and exception as its cause.
Parameters:
  message - The message, or null if none.
Parameters:
  cause - The cause for this exception.



MetadataException
public MetadataException(String message, MetadataBuilder.Key key, String alias)(Code)
Constructs an exception with the specified message. This exception is usually raised because no value was defined for the key key , or the value was ambiguous.
Parameters:
  message - The message, or null if none.
Parameters:
  key - The metadata key which was the cause for this exception, or null ifnone. This is a format neutral key, for example MetadataBuilder.DATUM.
Parameters:
  alias - The alias used for for the key key , or null if none. This isusually the name used in the external file parsed.



MetadataException
public MetadataException(Exception cause, MetadataBuilder.Key key, String alias)(Code)
Constructs an exception from the specified cause.
Parameters:
  cause - The cause for this exception.
Parameters:
  key - The metadata key which was the cause for this exception, or null ifnone. This is a format neutral key, for example MetadataBuilder.DATUM.
Parameters:
  alias - The alias used for for the key key , or null if none. This isusually the name used in the external file parsed.




Method Detail
getMetadataAlias
public String getMetadataAlias()(Code)
Returns the alias used for the key MetadataException.getMetadataKey . This is usually the name used in the external file to be parsed. The alias is format-dependent, while the key (as returned by MetadataException.getMetadataKey ) if format neutral. The alias, or null if none.



getMetadataKey
public MetadataBuilder.Key getMetadataKey()(Code)
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. The metadata key, or null if none.



toString
public String toString()(Code)
Returns a string representation of this exception. This implementation is similar to Throwable.toString , 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:
 org.geotools.coverage.io.MissingMetadataException(key="YMaximum", alias="ULY"):
 Aucune valeur n'est définie pour la propriété "ULY".
 




www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.