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:
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(String message)
           
ObjectNotFoundException(String message, String oid)
           
ObjectNotFoundException(String message, Throwable cause)
           
ObjectNotFoundException(String message, Throwable cause, String oid)
           
ObjectNotFoundException(Throwable cause)
           
 
Method Summary
 String getOid()
           
 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(String message,
                               Throwable cause)

ObjectNotFoundException

public ObjectNotFoundException(String message,
                               Throwable cause,
                               String oid)

ObjectNotFoundException

public ObjectNotFoundException(String message)

ObjectNotFoundException

public ObjectNotFoundException(String message,
                               String oid)

ObjectNotFoundException

public ObjectNotFoundException(Throwable cause)
Method Detail

getOid

public String getOid()

getOperationResultMessage

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

Specified by:
getOperationResultMessage in class CommonException
Returns:


Copyright © 2013 evolveum. All Rights Reserved.