Package org.kapott.hbci.exceptions

Examples of org.kapott.hbci.exceptions.HBCI_Exception


    public static String getParam(String st,String def)
    {
        ThreadGroup group=Thread.currentThread().getThreadGroup();
        Properties config=getParams();
        if (config==null)
            throw new HBCI_Exception(HBCIUtilsInternal.getLocMsg("EXCMSG_THREAD_NOTINIT",group.getName()));
        return config.getProperty(st,def);
    }
View Full Code Here


    public static void setParam(String key,String value)
    {
        ThreadGroup group=Thread.currentThread().getThreadGroup();
        Properties config=getParams();
        if (config==null)
            throw new HBCI_Exception(HBCIUtilsInternal.getLocMsg("EXCMSG_THREAD_NOTINIT",group.getName()));
       
        synchronized (config) {
            if (value!=null) {
                config.setProperty(key,value);
            } else {
View Full Code Here

                readPos+=6;
            }

            return ret.toString();
        } catch (Exception ex) {
            throw new HBCI_Exception(HBCIUtilsInternal.getLocMsg("EXCMSG_UTIL_ENCB64"),ex);
        }
    }
View Full Code Here

            byte[] ret2=new byte[retlen];
            System.arraycopy(ret,0,ret2,0,retlen);
            return ret2;
        } catch (Exception ex) {
            throw new HBCI_Exception(HBCIUtilsInternal.getLocMsg("EXCMSG_UTIL_DECB64"),ex);
        }
    }
View Full Code Here

                   
                    HBCIUtils.log(
                        "CRC check for "+blz+"/"+number+" with alg "+alg+": "+ret,
                        HBCIUtils.LOG_DEBUG);
                } catch (Exception e) {
                    throw new HBCI_Exception(e);
                }
            }
        } else {
            HBCIUtils.log(
                    "can not check account numbers with more than 10 digits ("+number+")- skipping CRC check",
View Full Code Here

        {
          Throwable cause = ite.getCause();
          if (cause instanceof HBCI_Exception)
            throw (HBCI_Exception) cause;
         
          throw new HBCI_Exception(HBCIUtilsInternal.getLocMsg("EXCMSG_PASSPORT_INST",name),ite);
        }
        catch (HBCI_Exception he)
        {
          throw he;
        }
        catch (Exception e)
        {
          throw new HBCI_Exception(HBCIUtilsInternal.getLocMsg("EXCMSG_PASSPORT_INST",name),e);
        }
    }
View Full Code Here

            keyspec.clearPassword();
            passphrase=null;

            return passportKey;
        } catch (Exception ex) {
            throw new HBCI_Exception(HBCIUtilsInternal.getLocMsg("EXCMSG_PASSPORT_KEYCALCERR"),ex);
        }
    }
View Full Code Here

        return this.parentHandlerData;
    }
   
    public HBCIKey[][] generateNewUserKeys()
    {
      throw new HBCI_Exception("*** current passport does not know how to generate user keys");
    }
View Full Code Here

      throw new HBCI_Exception("*** current passport does not know how to generate user keys");
    }

    public void setProfileMethod(String method)
    {
        throw new HBCI_Exception("*** overriding security profiles in passports not possible");
    }
View Full Code Here

        throw new HBCI_Exception("*** overriding security profiles in passports not possible");
    }

    public void setProfileVersion(String version)
    {
        throw new HBCI_Exception("*** overriding security profiles in passports not possible");
    }
View Full Code Here

TOP

Related Classes of org.kapott.hbci.exceptions.HBCI_Exception

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.