net.talvi.puffinplot
Class PuffinUserException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.talvi.puffinplot.PuffinUserException
All Implemented Interfaces:
java.io.Serializable

public class PuffinUserException
extends java.lang.Exception

An exception representing a condition which is not fatal, but which needs to be caught and reported to the user.

See Also:
Serialized Form

Constructor Summary
PuffinUserException(java.io.IOException exception)
          Creates a PuffinPlot user exception wrapping the supplied exception.
PuffinUserException(java.lang.String message)
          Creates a PuffinPlot user exception with the specified 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

PuffinUserException

public PuffinUserException(java.lang.String message)
Creates a PuffinPlot user exception with the specified message.

Parameters:
message - the message to use for the new exception

PuffinUserException

public PuffinUserException(java.io.IOException exception)
Creates a PuffinPlot user exception wrapping the supplied exception. The detail message will be taken from the supplied exception.

Parameters:
exception - the exception to wrap