+ ". Please verify your truststore or configure ElastiCenterClient to skip the SSL Validation. "); } else if (t.getCause() instanceof ConnectException) { throw new ServiceUnavailableException("Unable to initialize. Failed to connect to " + elastiCenterAddress + ". Please verify the IP Address, Network Connectivity and ensure that Services are running on the ElastiCenter Server. "); throw new ServiceUnavailableException("Unable to initialize. Please contact your ElastiCenter Administrator. Exception " + t.getMessage()); throw new ServiceUnavailableException("Unable to execute command on the server");
throw new InvalidParameterException(command + " does not exist on the ElastiCenter server. Please specify a valid command or contact your ElastiCenter Administrator."); } else { throw new ServiceUnavailableException("Internal Error. Please contact your ElastiCenter Administrator.");
public NamingEnumeration<SearchResult> search( String name, Attributes matchingAttributes, String[] attributesToReturn ) throws NamingException { throw new ServiceUnavailableException( EXCEPTION_MSG ); }
public void addNamingListener( Name name, String s, Object[] objects, SearchControls searchControls, NamingListener namingListener ) throws NamingException { throw new ServiceUnavailableException( EXCEPTION_MSG ); }
public NamingEnumeration<SearchResult> search( Name name, Attributes matchingAttributes, String[] attributesToReturn ) throws NamingException { throw new ServiceUnavailableException( EXCEPTION_MSG ); }
public NamingEnumeration<SearchResult> search( String name, String filter, SearchControls cons ) throws NamingException { throw new ServiceUnavailableException( EXCEPTION_MSG ); }
public NamingEnumeration<SearchResult> search( String name, String filterExpr, Object[] filterArgs, SearchControls cons ) throws NamingException { throw new ServiceUnavailableException( EXCEPTION_MSG ); }
public NamingEnumeration<SearchResult> search( Name name, String filterExpr, Object[] filterArgs, SearchControls cons ) throws NamingException { throw new ServiceUnavailableException( EXCEPTION_MSG ); }
public void addNamingListener( String s, String s1, SearchControls searchControls, NamingListener namingListener ) throws NamingException { throw new ServiceUnavailableException( EXCEPTION_MSG ); }
public void addNamingListener( String s, String s1, Object[] objects, SearchControls searchControls, NamingListener namingListener ) throws NamingException { throw new ServiceUnavailableException( EXCEPTION_MSG ); }
public boolean targetMustExist() throws NamingException { throw new ServiceUnavailableException( EXCEPTION_MSG ); } }
public Control[] getConnectControls() throws NamingException { throw new ServiceUnavailableException( EXCEPTION_MSG ); }
public Control[] getRequestControls() throws NamingException { throw new ServiceUnavailableException( EXCEPTION_MSG ); }
public Attributes getAttributes( String name, String[] attrIds ) throws NamingException { throw new ServiceUnavailableException( EXCEPTION_MSG ); }
public DirContext createSubcontext( String name, Attributes attrs ) throws NamingException { throw new ServiceUnavailableException( EXCEPTION_MSG ); }
public Object lookup( String name ) throws NamingException { throw new ServiceUnavailableException( EXCEPTION_MSG ); }
public NameParser getNameParser( String name ) throws NamingException { throw new ServiceUnavailableException( EXCEPTION_MSG ); }
public NameParser getNameParser( Name name ) throws NamingException { throw new ServiceUnavailableException( EXCEPTION_MSG ); }
public NamingEnumeration<Binding> listBindings( Name name ) throws NamingException { throw new ServiceUnavailableException( EXCEPTION_MSG ); }
private void ensureStarted() throws ServiceUnavailableException { if ( !service.isStarted() ) { throw new ServiceUnavailableException( "Directory service is not started." ); } }