Skip to main content

Error Handling

  • Chapter
  • 187k Accesses

Abstract

Data corruption and locking can cause geoprocessing scripts to crash and throw exceptions. Other influences, such as user input values, can also cause scripts to crash. The topic of this chapter is using error handling structures to control script behavior when exceptions occur. Error handling can suppress those alarming traceback messages that exceptions throw and provide a smoother way to proceed.

Keywords

  • Recent Call
  • Error Handling
  • Numerical Argument
  • Syntax Error
  • Line Count

These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

This is a preview of subscription content, access via your institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • DOI: 10.1007/978-3-319-18398-5_14
  • Chapter length: 19 pages
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
eBook
USD   79.99
Price excludes VAT (USA)
  • ISBN: 978-3-319-18398-5
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
Softcover Book
USD   99.99
Price excludes VAT (USA)
Hardcover Book
USD   139.99
Price excludes VAT (USA)
Figure 14.1

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and Permissions

Copyright information

© 2015 Springer International Publishing Switzerland

About this chapter

Cite this chapter

Tateosian, L. (2015). Error Handling. In: Python For ArcGIS. Springer, Cham. https://doi.org/10.1007/978-3-319-18398-5_14

Download citation