Package java.lang

Examples of java.lang.NullPointerException


    return list;
  }

  @Override
  public Screen attachWidget(Plugin plugin, Widget widget) {
    if (plugin == null) throw new NullPointerException("Plugin can not be null!");
    if (widget == null) throw new NullPointerException("Widget can not be null!");
    widgets.put(widget, plugin);
    widget.setPlugin(plugin);
    widget.setDirty(true);
    widget.setScreen(this);
    return this;
View Full Code Here


     */
    public InputStream getResourceAsStream(String name)
    {

        if (name == null) {
            throw new NullPointerException("name");
        }

        try
        {
            InputStream is = null;
View Full Code Here

     * @since  JDK1.1
     */
    public InputStream getResourceAsStreamFromJar(String name) {

        if (name == null) {
            throw new NullPointerException("name");
        }

        try {
            InputStream is = null;
            synchronized(syncResourceAsStreamFromJar) {
View Full Code Here

public int attributeType (String attrName) throws NullPointerException, IOException
    {
  if (_nameService != null)
      return _nameService.attributeType(_name, attrName);
  else
      throw new NullPointerException(tsLogger.log_mesg.getString("com.arjuna.ats.arjuna.gandiva.ObjectName_3"));
    }
View Full Code Here

public String nextAttributeName (String attrName) throws NullPointerException, IOException
    {
  if (_nameService != null)
      return _nameService.nextAttributeName(_name, attrName);
  else
      throw new NullPointerException(tsLogger.log_mesg.getString("com.arjuna.ats.arjuna.gandiva.ObjectName_3"));
    }
View Full Code Here

public long getLongAttribute (String attrName) throws NullPointerException, IOException
    {
  if (_nameService != null)
      return _nameService.getLongAttribute(_name, attrName);
  else
      throw new NullPointerException(tsLogger.log_mesg.getString("com.arjuna.ats.arjuna.gandiva.ObjectName_3"));
    }
View Full Code Here

public String getStringAttribute (String attrName) throws NullPointerException, IOException
    {
  if (_nameService != null)
      return _nameService.getStringAttribute(_name, attrName);
  else
      throw new NullPointerException(tsLogger.log_mesg.getString("com.arjuna.ats.arjuna.gandiva.ObjectName_3"));
    }
View Full Code Here

public ObjectName getObjectNameAttribute (String attrName) throws NullPointerException, IOException
    {
  if (_nameService != null)
      return _nameService.getObjectNameAttribute(_name, attrName);
  else
      throw new NullPointerException(tsLogger.log_mesg.getString("com.arjuna.ats.arjuna.gandiva.ObjectName_3"));
    }
View Full Code Here

public ClassName getClassNameAttribute (String attrName) throws NullPointerException, IOException
    {
  if (_nameService != null)
      return _nameService.getClassNameAttribute(_name, attrName);
  else
      throw new NullPointerException(tsLogger.log_mesg.getString("com.arjuna.ats.arjuna.gandiva.ObjectName_3"));
    }
View Full Code Here

public Uid getUidAttribute (String attrName) throws NullPointerException, IOException
    {
  if (_nameService != null)
      return _nameService.getUidAttribute(_name, attrName);
  else
      throw new NullPointerException(tsLogger.log_mesg.getString("com.arjuna.ats.arjuna.gandiva.ObjectName_3"));
    }
View Full Code Here

TOP

Related Classes of java.lang.NullPointerException

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.