org.palo.api.persistence
Class PaloPersistenceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.palo.api.persistence.PaloPersistenceException
- All Implemented Interfaces:
- java.io.Serializable
public class PaloPersistenceException
- extends java.lang.Exception
PaloPersistenceException
defines an exception which is thrown
in case of problems during loading or saving of palo API
persistence objects like CubeView
s or Subset
s.
PersistenceError
s are used to provide additional
information. Please use getErrors()
to travers the list of nested
errors.
- Version:
- $Id: PaloPersistenceException.html,v 1.15 2009/07/09 11:01:47 ArndHouben Exp $
- See Also:
PersistenceError
,
Serialized Form
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 |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TYPE_UNDEFINED
public static final int TYPE_UNDEFINED
- See Also:
- Constant Field Values
TYPE_LOAD_FAILED
public static final int TYPE_LOAD_FAILED
- See Also:
- Constant Field Values
TYPE_LOAD_INCOMPLETE
public static final int TYPE_LOAD_INCOMPLETE
- See Also:
- Constant Field Values
TYPE_SAVE_FAILED
public static final int TYPE_SAVE_FAILED
- See Also:
- Constant Field Values
TYPE_SAVE_INCOMPLETE
public static final int TYPE_SAVE_INCOMPLETE
- See Also:
- Constant Field Values
PaloPersistenceException
public PaloPersistenceException(PersistenceError[] errors)
- Default constructor
- Parameters:
errors
- provide additional information about this exception
PaloPersistenceException
public PaloPersistenceException(PersistenceError[] errors,
java.lang.String msg)
- Parameters:
errors
- provide additional information about this exceptionmsg
- a descriptive error message
getErrors
public PersistenceError[] getErrors()
- Returns all registered errors or
null
- Returns:
- registered errors or
null
setType
public final void setType(int type)
getType
public final int getType()