|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
ppJava.serie04.oceanlife.OceanException
public class OceanException
Custom Exception-class of Ocean with a constructor for a custom message. If an OceanException occurs, it will also be logged as warnings
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 |
---|
private static final long serialVersionUID
private static java.util.logging.Logger logger
Constructor Detail |
---|
public OceanException()
public OceanException(java.lang.String string)
string
- - custom message
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |