ppJava.serie04.oceanlife
Class OceanException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by ppJava.serie04.oceanlife.OceanException
All Implemented Interfaces:
java.io.Serializable

public class OceanException
extends java.lang.Exception

Custom Exception-class of Ocean with a constructor for a custom message. If an OceanException occurs, it will also be logged as warnings

See Also:
Serialized Form

Field Summary
private static java.util.logging.Logger logger
           
private static long serialVersionUID
           
 
Constructor Summary
OceanException()
          Default constructor.
OceanException(java.lang.String string)
          Custom constructor.
 
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

logger

private static java.util.logging.Logger logger
Constructor Detail

OceanException

public OceanException()
Default constructor.


OceanException

public OceanException(java.lang.String string)
Custom constructor.

Parameters:
string - - custom message