public static void assertStructName(String structName) throws XMPException {
  if (structName == null || structName.length() == 0) {
    throw new XMPException("Empty array name",XMPError.BADPARAM);
  }
}

public static void assertStructName ( String structName ) throws XMPException { if ( structName == null || structName . length ( ) == 0 ) { throw new XMPException ( "Empty array name" , XMPError . BADPARAM ) ; } }
asserts that a struct name is set .
