Package de.spotnik

Examples of de.spotnik.TechnicalException


        {
            this.manager.closeIndexWriter();
        }
        catch( IOException ex)
        {
            throw new TechnicalException("can't close index", ex);
        }
    }
View Full Code Here


           
            message.getMimeMessage().writeTo(out);
        }
        catch( FileNotFoundException ex)
        {
            throw new TechnicalException("can't add message, path seems not to exist", ex);
        }
        catch( IOException ex)
        {
            throw new TechnicalException("can't add message, unable to write", ex);
        }
        catch( MessagingException ex)
        {
            throw new BusinessException("can't add message", ex);
        }
View Full Code Here

           
            return searcher.search(query);
        }
        catch( IOException ex)
        {
            throw new TechnicalException("unable to open index for reading", ex);
        }
        catch( ParseException ex)
        {
            throw new BusinessException("can't parse query", ex);
        }
View Full Code Here

    @Transactional( propagation = Propagation.REQUIRED)
    public void addMessage( MailAccount account, Message currentMsg) throws TechnicalException
    {
        if( this.persister == null)
        {
            throw new TechnicalException("can't save messages, persister not set");
        }
       
        WrappedMessage wrappedMessage = null;
        try
        {
View Full Code Here

            rootFolder = store.getDefaultFolder();
            readFolder(account, rootFolder, true);
        }
        catch( NoSuchProviderException ex)
        {
            throw new TechnicalException(ex);
        }
        catch( MessagingException ex)
        {
            throw new BusinessException(ex);
        }
View Full Code Here

TOP

Related Classes of de.spotnik.TechnicalException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.