Tabnine Logo
ConnectionNotFoundException.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
javax.microedition.io.ConnectionNotFoundException
constructor

Best Java code snippets using javax.microedition.io.ConnectionNotFoundException.<init> (Showing top 6 results out of 315)

origin: org.microemu/microemu-javase

public long registerAlarm(String midlet, long time) throws ClassNotFoundException, ConnectionNotFoundException {
  // TODO Auto-generated method stub
  throw new ConnectionNotFoundException();
}
origin: com.github.mcpat.gcf/gcf-standard

  public static Connection openConnection(String protocol, String uriStr, int mode, boolean timeouts) throws IOException {
    IConnectionFactory factory= (IConnectionFactory) FACTORIES.get(protocol);
    
    if(factory == null) {
      throw new ConnectionNotFoundException(uriStr);
    }
    
    return factory.openPrim(protocol, uriStr, mode, timeouts);
  }
}
origin: jawi/ols

/**
 * {@inheritDoc}
 */
@Override
public Connection open( final String aName, final int aMode, final boolean aTimeouts ) throws IOException
{
 final ConnectionFactory cf = getConnectionFactory( this.context, aName );
 if ( cf == null )
 {
  throw new ConnectionNotFoundException( "No connection for: " + aName );
 }
 final Connection connection = cf.createConnection( aName, aMode, aTimeouts );
 synchronized ( this.openConnections )
 {
  this.openConnections.add( connection );
 }
 return connection;
}
origin: org.microemu/microemu-javase

      Logger.debug("connection [" + protocol + "] class not found", e);
      Logger.debug("connection [" + protocol + "] class not found", ex);
      throw new ConnectionNotFoundException("connection [" + protocol + "] class not found");
  throw new ConnectionNotFoundException();
} catch (IllegalAccessException e) {
  Logger.error("Unable to create", className, e);
  throw new ConnectionNotFoundException();
origin: apache/felix

throw new ConnectionNotFoundException("Failed to create connection " + name);
origin: net.sf.bluecove/bluecove

throw new ConnectionNotFoundException(name);
throw new ConnectionNotFoundException(scheme);
throw new ConnectionNotFoundException("scheme [" + scheme + "]");
javax.microedition.ioConnectionNotFoundException<init>

Javadoc

Constructs a ConnectionNotFoundException with no detail message.

Popular methods of ConnectionNotFoundException

    Popular in Java

    • Updating database using SQL prepared statement
    • setRequestProperty (URLConnection)
    • runOnUiThread (Activity)
    • getSupportFragmentManager (FragmentActivity)
    • Menu (java.awt)
    • Charset (java.nio.charset)
      A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
    • Arrays (java.util)
      This class contains various methods for manipulating arrays (such as sorting and searching). This cl
    • SortedSet (java.util)
      SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
    • Servlet (javax.servlet)
      Defines methods that all servlets must implement. A servlet is a small Java program that runs within
    • SAXParseException (org.xml.sax)
      Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
    • Top 12 Jupyter Notebook extensions
    Tabnine Logo
    • Products

      Search for Java codeSearch for JavaScript code
    • IDE Plugins

      IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
    • Company

      About UsContact UsCareers
    • Resources

      FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
    Get Tabnine for your IDE now