javax.ejb

Class FinderException

Implemented Interfaces:
Serializable
Known Direct Subclasses:
ObjectNotFoundException

public class FinderException
extends Exception

The main ejb context.
See Also:
Serialized Form

Constructor Summary

FinderException()
FinderException(String message)

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, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

FinderException

public FinderException()
Usages and Demos :

View More Examples of FinderException()
   1:             log.error("Can not find client", ex);
   2:             throw new FinderException();
   3:         }
   4:         ...
   5:             log.error("Can not get client list", ex);
   6:             throw new FinderException();
   7:         }
   8: 
   9:         return c;

View Full Code Here
   1:             for ( int i = 0; i < elements.length; i++ ) {
   2:                 proxies.addElement( createProxy(elements[i], di.getRemoteInterface(), securityToken, server, new javax.ejb.FinderException()) );
   3:             }
   4:         ...
   5:         } else {
   6:             return createProxy(retValue, di.getRemoteInterface(), securityToken, server, new javax.ejb.FinderException()); 
   7:         }
   8:     }

View Full Code Here
   1:     catch (SQLException se) {
   2:       throw new FinderException();
   3:     }
   4:         ...
   5:     catch (NamingException ne) {
   6:       throw new FinderException();
   7:     }
   8:     return userList;
   9:   }

View Full Code Here
   1:             log.error("Can not find person", ex);
   2:             throw new FinderException();
   3:         }
   4:         ...
   5:             log.error("Can not find user who is trying to log in", e);
   6:             throw new FinderException();
   7:         }
   8:         ...
   9:             log.error("Can not get person list", ex);
  10:             throw new FinderException();
  11:         }

View Full Code Here
   1:         } catch (FinderException e) {
   2:             throw new FinderException();
   3:         } catch (Exception e) {
   4:             throw new SessionInternalError(e);
   5:         }

View Full Code Here

FinderException

public FinderException(String message)
Usages and Demos :

View More Examples of FinderException(String message)
   1:          {
   2:             throw new FinderException(getSelectorName() +
   3:                " returned " + retVal.size() + " objects");
   4:          }
   5:          return retVal.iterator().next();

View Full Code Here
   1:                  throw new javax.ejb.EJBException(e);
   2:              throw new javax.ejb.FinderException(e.toString());  
   3:          }
   4:         ...
   5:                  throw new javax.ejb.EJBException(e);
   6:              throw new javax.ejb.FinderException(e.toString());  
   7:          }
   8:          Vector t_iors = new Vector();
   9:         Enumeration t_enum = (Enumeration)(t_cspiMsg.m_returnValue);

View Full Code Here
   1:          log.error("Finder failed: " + e.getMessage(), e);
   2:          throw new FinderException(e.getMessage());
   3:       }
   4:         ...
   5:       {
   6:          throw new FinderException(e.getMessage());
   7:       }
   8:       finally
   9:       {

View Full Code Here
   1:                 tx.rollback();
   2:                 throw new FinderException( e.getMessage() );
   3:             }
   4:         ...
   5:             log.error("Exception in ejbFindByQueryString", e);
   6:             throw new FinderException( e.getMessage() );
   7:         }
   8:         ...
   9:                 log.error("Exception closing session in ejbFindByQueryString", e);
  10:                 throw new FinderException( e.getMessage() );
  11:             }

View Full Code Here
   1:             type = typeHome.findByPrimaryKey(typeId);
   2:             throw new FinderException(e.getMessage());
   3:         }
   4:         ...
   5:             type = typeHome.findByPrimaryKey(typeId);
   6:             throw new FinderException(e.getMessage());
   7:         }
   8: 
   9:     }

View Full Code Here