Package org.ejbca.core.protocol.ws.client.gen

Examples of org.ejbca.core.protocol.ws.client.gen.EjbcaException_Exception


                    "Usage: edituser | finduser | findcerts | pkcs10req | pkcs12req | certreq | revokecert | getpublisherqueuelength | revoketoken | revokeuser | checkrevocationstatus | generatenewuser | createcrl | cacertrequest | cacertresponse | customlog | stress");
            }
        } catch (Exception e) {
          Throwable cause = e.getCause();
          if (cause instanceof EjbcaException_Exception) {
            EjbcaException_Exception ejbcaex = (EjbcaException_Exception)cause;
            EjbcaException ee = ejbcaex.getFaultInfo();
            System.out.println("Error: "+ee.getErrorCode().getInternalErrorCode()+": "+ee.getMessage());
      } else {
              System.out.println(e.getMessage());
      }
            e.printStackTrace();       
View Full Code Here


      }

      getEjbcaRAWS().customLog(logLevel, type, caname, username, logcert, msg);
    } catch (Exception e) {
      if (e instanceof EjbcaException_Exception) {
        EjbcaException_Exception e1 = (EjbcaException_Exception)e;
        getPrintStream().println("Error code is: "+e1.getFaultInfo().getErrorCode().getInternalErrorCode());
      }
      throw new ErrorAdminCommandException(e);
    }
  }
View Full Code Here

          } else {
            getPrintStream().println("Received null reply. Does the CA exists and does the admin have renew privileges for this CA?");
          }
    } catch (Exception e) {
      if (e instanceof EjbcaException_Exception) {
        EjbcaException_Exception e1 = (EjbcaException_Exception)e;
        getPrintStream().println("Error code is: "+e1.getFaultInfo().getErrorCode().getInternalErrorCode());
      }
      throw new ErrorAdminCommandException(e);
    }
  }
View Full Code Here

        getPrintStream().println("Error : Given userdata doesn't fullfill end entity profile. : " +  e.getMessage());
      }

    } catch (Exception e) {
      if (e instanceof EjbcaException_Exception) {
        EjbcaException_Exception e1 = (EjbcaException_Exception)e;
        getPrintStream().println("Error code is: "+e1.getFaultInfo().getErrorCode().getInternalErrorCode());
      }
      throw new ErrorAdminCommandException(e);
    }
  }
View Full Code Here

      }
          getEjbcaRAWS().caCertResponse(caname, incert.getEncoded(), cachain, keystorepwd);
      getPrintStream().println("Imported CA certificate.");         
    } catch (Exception e) {
      if (e instanceof EjbcaException_Exception) {
        EjbcaException_Exception e1 = (EjbcaException_Exception)e;
        getPrintStream().println("Error code is: "+e1.getFaultInfo().getErrorCode().getInternalErrorCode());
      }
      throw new ErrorAdminCommandException(e);
    }
  }
View Full Code Here

TOP

Related Classes of org.ejbca.core.protocol.ws.client.gen.EjbcaException_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.