Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.eireneh.util
Class LogicError  view LogicError download LogicError.java

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.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 Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
private  java.lang.Throwable ex
          The error that caused this exception
 
Fields inherited from class java.lang.RuntimeException
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ex

private java.lang.Throwable ex
The error that caused this exception

Constructor Detail

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