Tabnine Logo
FieldTooLongException
Code IndexAdd Tabnine to your IDE (free)

How to use
FieldTooLongException
in
uk.ac.ebi.intact.model

Best Java code snippets using uk.ac.ebi.intact.model.FieldTooLongException (Showing top 3 results out of 315)

origin: uk.ac.ebi.intact.core/intact-core

public void setShortLabel( String shortLabel ) {
  if ( shortLabel != null && shortLabel.length() > MAX_SHORT_LABEL_LEN ) {
    throw new FieldTooLongException( shortLabel, "shortLabel", MAX_SHORT_LABEL_LEN );
  }
  this.shortLabel = shortLabel;
}
origin: uk.ac.ebi.intact/intact-core

public void setShortLabel( String shortLabel ) {
  if ( shortLabel != null && shortLabel.length() > MAX_SHORT_LABEL_LEN ) {
    throw new FieldTooLongException( shortLabel, "shortLabel", MAX_SHORT_LABEL_LEN );
  }
  this.shortLabel = shortLabel;
}
origin: uk.ac.ebi.intact.core/intact-core-readonly

public void setShortLabel( String shortLabel ) {
  if ( shortLabel != null && shortLabel.length() > MAX_SHORT_LABEL_LEN ) {
    throw new FieldTooLongException( shortLabel, "shortLabel", MAX_SHORT_LABEL_LEN );
  }
  this.shortLabel = shortLabel;
}
uk.ac.ebi.intact.modelFieldTooLongException

Javadoc

Thrown if a field is too long

Most used methods

  • <init>

Popular in Java

  • Start an intent from android
  • onCreateOptionsMenu (Activity)
  • setScale (BigDecimal)
  • getExternalFilesDir (Context)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • CodeWhisperer alternatives
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