com.brownsoft.ag
Class MotorException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.brownsoft.ag.MotorException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
InvalidCrossException, InvalidMutationException

public class MotorException
extends java.lang.Exception

Clase base de las excepciones del Motor

Version:
1.0
Author:
Gustavo Brown
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
MotorException(java.lang.String msg)
          Excepcion simple, contiene el mensaje de error
MotorException(java.lang.String msg, java.lang.Exception containedException)
          Excepcion contenida: contiene la excepciòn real que ocurriò
 
Method Summary
 java.lang.Exception getContainedException()
           
 void printStackTrace()
           
 void printStackTrace(java.io.PrintStream stream)
           
 void printStackTrace(java.io.PrintWriter writer)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MotorException

public MotorException(java.lang.String msg)
Excepcion simple, contiene el mensaje de error


MotorException

public MotorException(java.lang.String msg,
                      java.lang.Exception containedException)
Excepcion contenida: contiene la excepciòn real que ocurriò

Method Detail

getContainedException

public java.lang.Exception getContainedException()

printStackTrace

public void printStackTrace()
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintWriter writer)
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintStream stream)
Overrides:
printStackTrace in class java.lang.Throwable