vishnu.model
Class VishnuException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by vishnu.model.VishnuException
All Implemented Interfaces:
java.io.Serializable

public class VishnuException
extends java.lang.RuntimeException

La idea detras de esta clase es que todas las excepciones del motor sean del mismo tipo, pero con diferentes codigos de estado.

Author:
Mariano
See Also:
Serialized Form
 

Field Summary
static int ambiguousColumnName
           
static int constraintViolation
           
static int dettachedSignature
           
static int duplicatedColumnName
           
static int fullPageWritten
           
static int indexing
           
static int indexOutOfBounds
           
static int invalidRecordSignature
           
static int invalidValueSize
           
static int notQuery
           
static int paging
           
static int persistence
           
static int primaryKey
           
static int tableAlreadyExists
           
static int unknownColumn
           
static int unknownDatabase
           
static int unknownRecord
           
static int unknownTable
           
static int unknownUser
           
 
Constructor Summary
VishnuException(int state)
           
VishnuException(int state, java.lang.String reason)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

constraintViolation

public static final int constraintViolation
See Also:
Constant Field Values

ambiguousColumnName

public static final int ambiguousColumnName
See Also:
Constant Field Values

dettachedSignature

public static final int dettachedSignature
See Also:
Constant Field Values

duplicatedColumnName

public static final int duplicatedColumnName
See Also:
Constant Field Values

indexing

public static final int indexing
See Also:
Constant Field Values

invalidRecordSignature

public static final int invalidRecordSignature
See Also:
Constant Field Values

primaryKey

public static final int primaryKey
See Also:
Constant Field Values

tableAlreadyExists

public static final int tableAlreadyExists
See Also:
Constant Field Values

unknownColumn

public static final int unknownColumn
See Also:
Constant Field Values

unknownDatabase

public static final int unknownDatabase
See Also:
Constant Field Values

unknownTable

public static final int unknownTable
See Also:
Constant Field Values

unknownUser

public static final int unknownUser
See Also:
Constant Field Values

invalidValueSize

public static final int invalidValueSize
See Also:
Constant Field Values

paging

public static final int paging
See Also:
Constant Field Values

fullPageWritten

public static final int fullPageWritten
See Also:
Constant Field Values

unknownRecord

public static final int unknownRecord
See Also:
Constant Field Values

indexOutOfBounds

public static final int indexOutOfBounds
See Also:
Constant Field Values

persistence

public static final int persistence
See Also:
Constant Field Values

notQuery

public static final int notQuery
See Also:
Constant Field Values
Constructor Detail

VishnuException

public VishnuException(int state)

VishnuException

public VishnuException(int state,
                       java.lang.String reason)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable