java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.eireneh.util.LogicError
- All Implemented Interfaces:
- java.io.Serializable
- public class LogicError
- extends java.lang.RuntimeException
LogicError is an unchecked Exception that tells us something went
unexpectedly wrong - something that logic says cant happen.
Distribution Licence:
Project B is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public License,
version 2 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
The License is available on the internet
here, by writing to
Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
MA 02111-1307, USA, Or locally at the Licence link below.
The copyright to this program is held by it's authors.
|
- Version:
- D0.I0.T0
| Nested classes inherited from class java.lang.Throwable |
|
| Fields inherited from class java.lang.Throwable |
|
|
Constructor Summary |
LogicError()
Logic Errors should never happen so there is no need for an error
message as a description describes how this happened. |
LogicError(java.lang.Throwable ex)
Logic Errors should never happen. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ex
private java.lang.Throwable ex
- The error that caused this exception
LogicError
public LogicError()
- Logic Errors should never happen so there is no need for an error
message as a description describes how this happened.
LogicError
public LogicError(java.lang.Throwable ex)
- Logic Errors should never happen. This passes on the presumably
checked Exception