org.opensha.commons.exceptions
Class GMT_MapException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.opensha.commons.exceptions.GMT_MapException
All Implemented Interfaces:
java.io.Serializable

public class GMT_MapException
extends java.lang.Exception

Title: GMT_MapException

Description: Exception thrown when Error occurs while using GMT to generate the PSHA and Shakemaps,such as trying to set invalid depths, such as a negative number

Note: These exception subclasses add no new functionality. It's really the class name that is the important information. The name indicates what type of error it is and helps to pinpoint where the error could have occured in the code. It it much easier to see different exception types than have one catchall Exception type.

Version:
1.0
Author:
Steven W. Rock
See Also:
Serialized Form

Constructor Summary
GMT_MapException()
          No-arg constructor
GMT_MapException(java.lang.Exception e)
           
GMT_MapException(java.lang.String string)
          Constructor that specifies an error message
GMT_MapException(java.lang.String message, java.lang.Exception e)
           
 
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

GMT_MapException

public GMT_MapException()
No-arg constructor


GMT_MapException

public GMT_MapException(java.lang.String string)
Constructor that specifies an error message


GMT_MapException

public GMT_MapException(java.lang.Exception e)

GMT_MapException

public GMT_MapException(java.lang.String message,
                        java.lang.Exception e)