org.kuali.rice.kns.exception
Class BusinessObjectNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.kuali.rice.kns.exception.BusinessObjectNotFoundException
All Implemented Interfaces:
Serializable

public class BusinessObjectNotFoundException
extends RuntimeException

This class represents a situation where a business object is specified for lookup or loading, but it does not exist in the database. This exception can be used for when that is a fatal error.

See Also:
Serialized Form

Constructor Summary
BusinessObjectNotFoundException()
          Constructs a BusinessObjectNotFoundException.java.
BusinessObjectNotFoundException(PersistableBusinessObject bo)
          Constructs a BusinessObjectNotFoundException.java.
BusinessObjectNotFoundException(PersistableBusinessObject bo, String message)
          Constructs a BusinessObjectNotFoundException.java.
BusinessObjectNotFoundException(String message)
          Constructs a BusinessObjectNotFoundException.java.
BusinessObjectNotFoundException(String message, Throwable cause)
          Constructs a BusinessObjectNotFoundException.java.
BusinessObjectNotFoundException(Throwable cause)
          Constructs a BusinessObjectNotFoundException.java.
 
Method Summary
 
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

BusinessObjectNotFoundException

public BusinessObjectNotFoundException()
Constructs a BusinessObjectNotFoundException.java.


BusinessObjectNotFoundException

public BusinessObjectNotFoundException(String message)
Constructs a BusinessObjectNotFoundException.java.

Parameters:
message -

BusinessObjectNotFoundException

public BusinessObjectNotFoundException(String message,
                                       Throwable cause)
Constructs a BusinessObjectNotFoundException.java.

Parameters:
message -
cause -

BusinessObjectNotFoundException

public BusinessObjectNotFoundException(Throwable cause)
Constructs a BusinessObjectNotFoundException.java.

Parameters:
cause -

BusinessObjectNotFoundException

public BusinessObjectNotFoundException(PersistableBusinessObject bo,
                                       String message)
Constructs a BusinessObjectNotFoundException.java.

Parameters:
bo - - the business object specified which cannot be found in the database
message - - the message to pass up

BusinessObjectNotFoundException

public BusinessObjectNotFoundException(PersistableBusinessObject bo)
Constructs a BusinessObjectNotFoundException.java.

Parameters:
bo - - the business object specified which cannot be found in the database


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.