com.evolveum.midpoint.util.exception
Class ObjectNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.evolveum.midpoint.util.exception.CommonException
              extended by com.evolveum.midpoint.util.exception.ObjectNotFoundException
All Implemented Interfaces:
java.io.Serializable

public class ObjectNotFoundException
extends CommonException

Object with specified criteria (OID) has not been found in the repository.

Author:
Radovan Semancik
See Also:
Serialized Form

Constructor Summary
ObjectNotFoundException()
           
ObjectNotFoundException(java.lang.String message)
           
ObjectNotFoundException(java.lang.String message, java.lang.Throwable cause)
           
ObjectNotFoundException(java.lang.String message, java.lang.Throwable cause, java.lang.String oid)
           
ObjectNotFoundException(java.lang.Throwable cause)
           
 
Method Summary
 java.lang.String getOid()
           
 java.lang.String getOperationResultMessage()
          TOTO: switch return value to a localized message
 
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
 

Constructor Detail

ObjectNotFoundException

public ObjectNotFoundException()

ObjectNotFoundException

public ObjectNotFoundException(java.lang.String message,
                               java.lang.Throwable cause)

ObjectNotFoundException

public ObjectNotFoundException(java.lang.String message,
                               java.lang.Throwable cause,
                               java.lang.String oid)

ObjectNotFoundException

public ObjectNotFoundException(java.lang.String message)

ObjectNotFoundException

public ObjectNotFoundException(java.lang.Throwable cause)
Method Detail

getOid

public java.lang.String getOid()

getOperationResultMessage

public java.lang.String getOperationResultMessage()
Description copied from class: CommonException
TOTO: switch return value to a localized message

Specified by:
getOperationResultMessage in class CommonException
Returns:


Copyright © 2012 evolveum. All Rights Reserved.