List of usage examples for java.lang IllegalAccessError IllegalAccessError
public IllegalAccessError(String s)
IllegalAccessError
with the specified detail message. From source file:cn.code.notes.gtask.data.MetaData.java
@Override public JSONObject getLocalJSONFromContent() { throw new IllegalAccessError("MetaData:getLocalJSONFromContent should not be called"); }
From source file:com.baasbox.dao.FileDao.java
@Override @Deprecated//from www .ja v a 2 s .c o m public ODocument create() throws Throwable { throw new IllegalAccessError( "Use create(String name, String fileName, String contentType, byte[] content) instead"); }
From source file:com.cloudbees.jenkins.plugins.bitbucket.BitbucketCredentials.java
private BitbucketCredentials() { throw new IllegalAccessError("Utility class"); }
From source file:jenkins.branch.NameMangler.java
/** * Utility class. */ private NameMangler() { throw new IllegalAccessError("Utility class"); }
From source file:com.cloudbees.plugins.credentials.ContextMenuIconUtils.java
/** * Prevent instantiation. */ private ContextMenuIconUtils() { throw new IllegalAccessError("Utility class"); }
From source file:com.ponysdk.ui.server.basic.PObject.java
public void bindTerminalFunction(final String functionName) { if (nativeBindingFunction != null) throw new IllegalAccessError("Object already bind to native function: " + nativeBindingFunction); final Update update = new Update(getID()); update.put(Dictionnary.PROPERTY.BIND, functionName); Txn.get().getTxnContext().save(update); nativeBindingFunction = functionName; }
From source file:cn.code.notes.gtask.data.MetaData.java
@Override public int getSyncAction(Cursor c) { throw new IllegalAccessError("MetaData:getSyncAction should not be called"); }
From source file:com.twitt4droid.util.Images.java
/** * Default constructor. Do NOT try to initialize this class, it is suppose * to be an static utility.//from w w w. jav a 2 s . c o m */ private Images() { throw new IllegalAccessError("This class cannot be instantiated nor extended"); }
From source file:com.yahoo.elide.jsonapi.models.Data.java
/** * Fetch the item if the data is toOne//from w w w . j a va2 s. c om * * @return T if toOne * @throws IllegalAccessError when the data is not toOne */ public T getSingleValue() { if (isToOne()) { return ((SingleElementSet<T>) values).getValue(); } throw new IllegalAccessError("Data is not toOne"); }