org.opensha.nshmp.exceptions
Class InterpolationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.opensha.nshmp.exceptions.InterpolationException
All Implemented Interfaces:
Serializable

public class InterpolationException
extends Exception

Title: LocationErrorException

Description: This exception is thrown when user does not provide correct inputs for the Interpolation.

Version:
1.0
Author:
Ned Field, Nitin Gupta and EV.Leyendecker
See Also:
Serialized Form

Constructor Summary
InterpolationException()
          Constructs a new InterpolationException with null as its detail message.
InterpolationException(String errMsg)
          Constructor with String as the error message Constructs a new InterpolationException with the specified detail message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InterpolationException

public InterpolationException()
Constructs a new InterpolationException with null as its detail message. he cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable).


InterpolationException

public InterpolationException(String errMsg)
Constructor with String as the error message Constructs a new InterpolationException with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable)

Parameters:
errMsg - : customized error message describing the error, what caused it and what can user do to avoid it.The detail message is saved for later retrieval by the Throwable.getMessage() method.