NoSuchLayerException (TauP 2.6.1 API)
Description: declaration: package: edu.sc.seis.TauP, class: NoSuchLayerException

Package edu.sc.seis.TauP

# Class NoSuchLayerException

java.lang.Object
java.lang.Throwable
java.lang.Exception
edu.sc.seis.TauP.TauPException
edu.sc.seis.TauP.VelocityModelException
edu.sc.seis.TauP.NoSuchLayerException

All Implemented Interfaces:
  `java.io.Serializable`

    public class NoSuchLayerException
    extends VelocityModelException

Exception occurring within the VelocityModel when a request is made for a layer that does not exist.

See Also:
  Serialized Form

- ## Field Summary

  Fields
  Modifier and Type | Field | Description
  --- | --- | ---
  `int` | `layerNumber` |
  `double` | `radius` |

- ## Constructor Summary

  Constructors
  Constructor | Description
  --- | ---
  `NoSuchLayerException​(double radius)` |
  `NoSuchLayerException​(int layerNumber)` |

- ## Method Summary

  ### Methods inherited from class java.lang.Throwable

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### radius

    public double radius

  - ### layerNumber

    public int layerNumber

- ## Constructor Details

  - ### NoSuchLayerException

    public NoSuchLayerException​(double radius)

  - ### NoSuchLayerException

    public NoSuchLayerException​(int layerNumber)