ch.elca.el4j.core.exceptions
Class ObjectDoesNotExistException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by ch.elca.el4j.core.exceptions.BaseException
              extended by ch.elca.el4j.core.exceptions.ObjectDoesNotExistException
All Implemented Interfaces:
Serializable

Deprecated. Spring data access exception will be used.

public class ObjectDoesNotExistException
extends BaseException

This exception will be thrown when an object does not exist.

Author:
Martin Zeltner (MZE)
See Also:
DataRetrievalFailureException, Serialized Form
File-location:
ObjectDoesNotExistException
Last check-in date:
2009-08-04 15:22:05 +0200 (Di, 04. Aug 2009) by swismer for revision 3881

Field Summary
static String EXCEPTION_MESSAGE_OBJECTDOESNOTEXIST
          Deprecated. Message, which has to be formated.
protected  String m_objectName
          Deprecated. Name of the object, where the exception occured.
 
Fields inherited from class ch.elca.el4j.core.exceptions.BaseException
m_message, m_messageFormatParameters
 
Constructor Summary
ObjectDoesNotExistException(String objectName)
          Deprecated. Constructor.
ObjectDoesNotExistException(String objectName, Throwable cause)
          Deprecated. Constructor.
 
Method Summary
 Object[] getFormatParameters()
          Deprecated. Gets parameters defined for the message.
 String getObjectName()
          Deprecated.  
 
Methods inherited from class ch.elca.el4j.core.exceptions.BaseException
getFormatString, getMessage, setFormatString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

EXCEPTION_MESSAGE_OBJECTDOESNOTEXIST

public static final String EXCEPTION_MESSAGE_OBJECTDOESNOTEXIST
Deprecated. 
Message, which has to be formated.

See Also:
Constant Field Values

m_objectName

protected String m_objectName
Deprecated. 
Name of the object, where the exception occured.

Constructor Detail

ObjectDoesNotExistException

public ObjectDoesNotExistException(String objectName)
Deprecated. 
Constructor.

Parameters:
objectName - Is the name of the object, where the exception occured.

ObjectDoesNotExistException

public ObjectDoesNotExistException(String objectName,
                                   Throwable cause)
Deprecated. 
Constructor.

Parameters:
objectName - Is the name of the object, where the exception occured.
cause - Is the cause for this exception.
Method Detail

getObjectName

public String getObjectName()
Deprecated. 
Returns:
Returns the objectName.

getFormatParameters

public Object[] getFormatParameters()
Deprecated. 
Gets parameters defined for the message. This should be overridden if you have defined your own set of attributes.

Overrides:
getFormatParameters in class BaseException
Returns:
array of arguments for MessageFormat


Copyright © 2005-2011 ELCA. All Rights Reserved.